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