i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > toolview > ToolViewStateListener

    toolview.ToolViewStateListener type

    A callback function that handles tool view state change events.

    Signature:

    type ToolViewStateListener = (state: 'open' | 'closed') => void;
    

    Introduced: version 1.0

    Parameters

    Parameter Description
    state The state that the tool view is changing to.

    Remarks

    Typically, this listener updates the i2 Notebook user interface to reflect the open or closed state of the tool view.

    In this article
    Back to top © N. Harris Computer Corporation