Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Language

JMap.Event.Language

Here you can manage all language related event listeners.

Click to see all events available: *JMap.Event.Language.on*.

Index

Modules

Functions

Functions

activate

  • activate(listenerId: string): void
  • JMap.Event.Language.activate

    Activate the listener.

    If the listener is already active, do nothing.

    If the listener is inactive, it will be reactivated and will be called again ...

    example
    
    // activate the listener "my-language-listener"
    JMap.Event.Language.activate("my-language-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void

deactivate

  • deactivate(listenerId: string): void
  • JMap.Event.Language.deactivate

    Deactivate the listener.

    If the listener id doesn't exists or if the listener is already inactive, do nothing.

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

    example
    
    // deactivate the listener "my-language-listener"
    JMap.Event.Language.deactivate("my-language-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void

remove

  • remove(listenerId: string): void
  • JMap.Event.Language.remove

    Remove the listener.

    If the listener doesn't exist, do nothing.

    Remove the listener from JMap NG Core library. The listener is deleted and never called again after that.

    example
    
    // remove the listener "my-language-listener"
    JMap.Event.Language.remove("my-language-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void