Events

This section describes events that the DataSource raises.

changed

Raised after data is successfully loaded.

Type:

Event

Main article: onChanged

loadError

Raised when data loading fails.

Type:

Event

Function parameters:
error:

Object

The occurred error.

Object structure:
message:

String

The system message about the error.

Main article: onLoadError

loadingChanged

Raised when the data loading status is changed.

Type:

Event

Function parameters:
isLoading:

Boolean

Indicates whether data is being loaded.

Main article: onLoadingChanged