I18nMixin

external interface I18nMixin

A mixin that allows to set partial I18N properties.

Subclasses provide their default values by overriding the defaultI18n static getter:

static get defaultI18n() {
return { foo: 'Foo', bar: 'Bar' };
}

Inheritors

Properties

Link copied to clipboard
abstract var i18n: JsAny

The object used to localize this component. To change the default localization, replace this with an object that provides all properties, or just the individual properties you want to change.