Properties
Static bootstrapStyle
bootstrapStyle: CSSResult = ...
Static bootstrapVarStyle
bootstrapVarStyle: CSSResult = ...
Static commonStyle
commonStyle: CSSResult = ...
Static fontawesomeStyle
fontawesomeStyle: CSSResult = ...
Static resetStyle
resetStyle: CSSResult = ...
Static styles
styles: CSSResult[] = ...
This is a base element.
That includes:
i18next initialization.
Bootstrap (custom build + color in vars), Font Awesome, reset and some custom style.
Configuration directly available by overriding the
initConfig
method.RXJS subscription added to subscriptions are unsubscribe on element removal. Example: ```js import {html, css} from 'lit'; import {customElement} from 'lit/decorators.js';
// @ts-ignore @customElement('my-element') export default class MyElement extent (window as any).gmfapi.elements.BaseElement { static styles = [ ...(window as any).gmfapi.elements.BaseElement.styles, css
...
];initConfig(configuration: Any): void { ... };
render(): TemplateResult { return html
${this.getTitle(i18next.t('Title'))} your template
} }