Spec-Zone.ru › Lit 1

What is LitElement?

LitElement is a simple base class for creating fast, lightweight web components that work in any web page with any framework.

LitElement uses lit-html to render into shadow DOM, and adds API to manage properties and attributes. Properties are observed by default, and elements update asynchronously when their properties change.

Next steps

  • Getting Started: Set up LitElement and create a component.
  • Templates: Write templates with lit-html syntax.
  • Properties: Manage properties and attributes.
  • Lifecycle: Work with the LitElement lifecycle API.

Edit this page

© Google LLC
Licensed under the Creative Commons Attribution 3.0 Unported License.
https://lit.dev/docs/v1/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API