IWithLoadingEvents
Home > @gooddata/sdk-ui > IWithLoadingEvents
IWithLoadingEvents interface
Signature:
export interface IWithLoadingEvents<TProps>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
onError? | (error: GoodDataSdkError, props: TProps) => void | (Optional) If specified, this function will be called in case loading runs into an error. | |
onExportReady? | (exportFunction: IExportFunction, props: TProps) => void | (Optional) Called when loading finishes and it is possible to export the underlying data. Function that does the export will be provided on the callback. | |
onLoadingChanged? | (isLoading: boolean, props: TProps) => void | (Optional) Called when loading starts and finishes, indicating the current state using the isLoading parameter. | |
onLoadingFinish? | (result: DataViewFacade, props: TProps) => void | (Optional) Called when loading finishes. | |
onLoadingStart? | (props: TProps) => void | (Optional) Called when loading starts. |