EqContextHandlers interface
Defines interface for all context event handlers
- afterExportResult
- afterFetchData
- afterLoadModel
- afterLoadQuery
- afterSyncQuery
- beforeExportResult
- beforeFetchData
- beforeLoadModel
- beforeLoadQuery
- beforeSyncQuery
- onError
- onInit
- onListRequest
- onProcessEnd
- onProcessStart
Properties
Section titled “Properties”afterExportResult
Section titled “afterExportResult”● afterExportResult?: (context: EqContext) => void
afterFetchData
Section titled “afterFetchData”● afterFetchData?: (context: EqContext) => void
afterLoadModel
Section titled “afterLoadModel”● afterLoadModel?: (context: EqContext) => void
afterLoadQuery
Section titled “afterLoadQuery”● afterLoadQuery?: (context: EqContext) => void
afterSyncQuery
Section titled “afterSyncQuery”● afterSyncQuery?: (context: EqContext) => void
beforeExportResult
Section titled “beforeExportResult”● beforeExportResult?: (context: EqContext, options?: ContextExportResultOptions) => void
beforeFetchData
Section titled “beforeFetchData”● beforeFetchData?: (context: EqContext, options?: ContextFetchDataOptions) => void
beforeLoadModel
Section titled “beforeLoadModel”Tuners. Each tuner is a function which are called before sending a request to the server
● beforeLoadModel?: (context: EqContext, options?: ContextLoadModelOptions) => void
beforeLoadQuery
Section titled “beforeLoadQuery”● beforeLoadQuery?: (context: EqContext, options?: ContextLoadQueryOptions) => void
beforeSyncQuery
Section titled “beforeSyncQuery”● beforeSyncQuery?: (context: EqContext, options?: ContextSyncQueryOptions) => void
onError
Section titled “onError”● onError?: (context: EqContext, status: ActionStatus) => void
onInit
Section titled “onInit”● onInit?: (context: EqContext) => void
onListRequest
Section titled “onListRequest”● onListRequest?: (data: any
, callback: (list: any
) => void
) => boolean
onProcessEnd
Section titled “onProcessEnd”● onProcessEnd?: (context: EqContext, status: ActionStatus) => void
onProcessStart
Section titled “onProcessStart”● onProcessStart?: (context: EqContext, status: ActionStatus) => void