• JMap.Event.Form.deactivate

    Deactivate the listener.

    If listener id doesn't exist or is already deactivated, do nothing.

    If the listener was active, it state is turn to deactivate, and it will be ignore when en event is emitted.

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

    // deactivate the listener "my-form-listener"
    JMap.Event.Form.deactivate("my-form-listener")