npm install --save @polymer/lit-element
Contains LitElement base class. Import LitElement and html from this module to create a component:
import { LitElement, html } from '@polymer/lit-element';
class MyElement extends LitElement {
render() {
return html`<p>your template here</p>`;
}
}
customElements.define('my-element', MyElement);
Inherits API functionality from updating-element.
Provides API functionality for LitElement. Manages properties and attributes; Performs element updates.
Generated using TypeDoc