Events
infinite
Argument:
$stateDetails:
This event will be fired if the scroll distance is less than the
distanceproperty, the component will pass a special argument for the event handler to change loading status named$statebut you can name it whatever you want$state.loaded
Type:
FunctionDetails:
Informs the component that this loading has been successful
$state.complete
Type:
FunctionDetails:
Inform the component that all the data has been loaded successfully
$state.error
Type:
FunctionDetails:
Inform the component that this loading failed, the content of
errorslot will be displayed.