Home > @i2analyze/notebook-sdk > toolview > ToolViewUnloadListener
toolview.ToolViewUnloadListener type
A callback function that handles tool view unload events.
Signature:
type ToolViewUnloadListener = (isClosing: boolean) => void;
Introduced: version 1.0
Parameters
Parameter | Description |
---|---|
isClosing | true if the unload event means that the tool view is closing; false if it is being docked, undocked, or maximized. |
Remarks
Typically, this listener stores information when the tool view is changing between open states, and clears it when the tool view is closing.