Skip to content

IDataSourceEvents

Type interface

Defines events for DataSource.

Sources

IDataSourceEvents is an interface: it describes a shape of data and is not imported on its own.

Inheritance

IDataSourceEvents extends IBaseObjectEvents.

IDataSourceEvents is not extended by any other symbol.

Properties

done

Type { data: any }

Invoked when data source was successfully loaded and parsed.

ended

Type object

Invoked when loading and parsing finishes.

error

Type { code: number, message: string }

Invoked when data source encounters a loading error.

loadended

Type object

Invoked when the loading of the data finishes.

loadstarted

Type object

Invoked when loading of the data starts.

parseended

Type object

Invoked when parsing of the loaded data finishes.

parseerror

Type { message: string }

Invoked when data source encounters a parsing error.

parsestarted

Type object

Invoked when parsing of the loaded data starts.

started

Type object

Invoked when loading of the data starts.