@xlit/mixins
v2.8.1
Published
xlit common mixins
Downloads
6
Maintainers
Readme
@xlit/mixins
Lit common mixins
Installation
npm i @xlit/mixins
Getting started
import { LitElement, html } from 'lit';
import { customElement } from 'lit/decorators.js';
import { Lite, Styled, addStyle } from '@xlit/mixins';
addStyle()
@customElement('x-foo')
class Foo extends Lite(LitElement) {
// do something here
}
@customElement('x-bar')
class Foo extends Styled(LitElement) {
// do something here
}