LibraryActive

Lit Custom Directives

API for creating custom directives in Lit templates with lifecycle hooks and part manipulation.

Open source page ↗

Product features

Product features

addController ( controller ): void

attributeChangedCallback ( name , _old , value ): void

Attributes # Permalink to Attributes

Contents: LitElement

Controllers # Permalink to Controllers

Details

Dev mode # Permalink to Dev mode

Import

LitElement

removeController ( controller ): void

static disableWarning ?: ( warningKind: WarningKind ) => void

static observedAttributes : Array< string >