Options
All
  • Public
  • Public/Protected
  • All
Menu

External module els/common/mixins

Mixins for Polymer Elements

Index

Variables

Variables

Const I8nMixin

I8nMixin: (Anonymous function) = dedupingMixin((superClass: new () => PolymerElement) => class extends superClass {constructor() {super();}/*** Localize a string** @param name - name from _locales* @param def - optional default value if name not found*/public localize(name: string, def?: string) {return ChromeLocale.localize(name, def);}})

Element class mixin that provides API for chrome.i8n https://developer.chrome.com/extensions/i18n

Generated using TypeDoc