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