Type Alias: StandardEventsOnMethod()
StandardEventsOnMethod = <
E>(event,listener) => () =>void
Method to call to use the StandardEventsFeature.
Type Parameters
E
E extends StandardEventsNames
Parameters
event
E
Event type to listen for. `change` is the only event type.
listener
Function that will be called when an event of the type is emitted.
Returns
off function which may be called to remove the event listener and unsubscribe from events.
As with all event listeners, be careful to avoid memory leaks.
():
void
Returns
void