• JMap.Application.Event.Main.deactivate

    Deactivates the listener.

    If the listener id doesn't exist or if the listener is already inactive, does nothing.

    If the listener is active, it will be deactivated and will be ignored ...

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

    // deactivate the listener "my-main-listener"
    JMap.Application.Event.Main.deactivate("my-main-listener")