Home > @i2analyze/notebook-sdk > app > IApplicationEvents > removeEventListener
app.IApplicationEvents.removeEventListener() method
Removes an event listener. See app.ApplicationEventMap for the available events.
Signature:
removeEventListener<K extends keyof ApplicationEventMap>(type: K, listener: ApplicationEventMap[K]): void;
Introduced: version 1.0
Type Parameters
Parameter | Type | Description |
---|---|---|
K | extends keyof ApplicationEventMap | The type of event to unsubscribe from. |
Parameters
Parameter | Type | Description |
---|---|---|
type | K | The type of event to unsubscribe from. |
listener | ApplicationEventMap[K] | A function that was previously added as a listener. |
Returns:
void