Interface IServiceAjax

Object control interface.

interface IServiceAjax {
    baseConfig: object;
    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);
    command: PropertyCollection;
    fn: PropertyCollection;
    items: PropertyCollection;
    mapping: object;
    preCheck: ((model: BaseBindModel) => boolean);
    preReady: ((model: BaseBindModel) => void);
    preRegister: ((model: BaseBindModel) => void);
    tables: object;
    url: string;
}

Hierarchy (view full)

Properties

baseConfig: object

Set the binding default config.

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

Binding command

Bind model function (internal function + exposure function)

items

mapping: object
preCheck: ((model: BaseBindModel) => boolean)

Inspection preCheck at Initialization

preReady: ((model: BaseBindModel) => void)

Ready ready to initialize

preRegister: ((model: BaseBindModel) => void)

Register at initialization

tables: object
url: string

Set the binding default config.url.