i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > dialog > IDialogApi > removeEventListener

    dialog.IDialogApi.removeEventListener() method

    Removes a listener for events that might affect the dialog.

    Signature:

    removeEventListener<K extends keyof DialogEventMap>(type: K, listener: DialogEventMap[K]): void;
    

    Introduced: version 1.4

    Type Parameters

    Parameter Type Description
    K extends keyof DialogEventMap The type of event to unsubscribe from.

    Parameters

    Parameter Type Description
    type K The type of event to unsubscribe from.
    listener DialogEventMap[K] A function that was previously added as a listener.

    Returns:

    void

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