Options
All
  • Public
  • Public/Protected
  • All
Menu

@polymer/lit-element

LitElement API Documentation

Install @polymer/lit-element

npm install --save @polymer/lit-element

Modules

lit-element

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.

updating-element

updating-element

Provides API functionality for LitElement. Manages properties and attributes; Performs element updates.

Generated using TypeDoc