Triggered when the locale has been changed. If the locale is not set, the value is undefined. The event is also sent initially, after the service was created.

interface LocaleChangedEvent {
    payload: Languages;
    type: "localeChanged";
}

Hierarchy

  • EventWithPayload
    • LocaleChangedEvent

Properties

Properties

payload: Languages
type: "localeChanged"