Type alias tListenerCallback
t
Listener
Callback
: ((pEvent
: InfiniteEvent, pCallbackData
: Object | undefined) => void)
Type declaration
-
- (pEvent: InfiniteEvent, pCallbackData: Object | undefined): void
-
Parameters
-
-
pCallbackData: Object | undefined
Returns void
The tListenerCallback type is the type of a callback that is called when an event is fired.
When event are fired, registered callbacks are called. Callbacks are installed on objects implementing the EventDispatcherInterface.
The syntax is very close to the DOM addEventlistener functions.
See
EventDispatcherInterface