Interface IModelCallback

Object control interface.

interface IModelCallback {
    cbBaseBind: ((_this: any, setup: object) => void);
    cbBaseEnd: ((_this: any, msg: string, status: object, xhr: object) => void);
    cbBaseOutput: ((_this: any, result: object) => void);
    cbBaseResult: ((_this: any, result: object) => object);
    cbBaseValid: ((_this: any, valid: MetaView) => boolean);
    cbError: ((_this: any, msg: string, status: object) => void);
    cbFail: ((_this: any, result: object, column: MetaColumn) => void);
}

Hierarchy (view full)

Properties

cbBaseBind: ((_this: any, setup: object) => void)

Default callback at valid (without cbBind callback function)

cbBaseEnd: ((_this: any, msg: string, status: object, xhr: object) => void)

Default callback at execution completion (without cbEnd callback function)

cbBaseOutput: ((_this: any, result: object) => void)

Output default callback (without cbOutput callback function)

cbBaseResult: ((_this: any, result: object) => object)

Default callback to receive bind results (without cbResult callback function)

cbBaseValid: ((_this: any, valid: MetaView) => boolean)

Default callback at valid (without cbValid callback function)

cbError: ((_this: any, msg: string, status: object) => void)

Callback in case of an error in valid

cbFail: ((_this: any, result: object, column: MetaColumn) => void)

Callback when failed in valid