Options
All
  • Public
  • Public/Protected
  • All
Menu

JMap.Event.Language.on

Here you have all available user events on which you can attach a listener.

Index

Functions

Functions

localeChange

  • localeChange(listenerId: string, fn: function): void
  • JMap.Event.Language.on.localeChange

    This event is triggered when the current locale is changed in JMap NG translation engine.

    example
    
    // Each time the current locale is changed, this method is processed
    JMap.Event.Language.on.localeChange(
       "custom-language-locale-change",
       params => console.info(`The current locale has changed, it is now "${params.locale}"`)
    )

    Parameters

    Returns void