lit.ReactiveControllerHost
Host component interface for Lit elements supporting reactive lifecycle controllers.
addController(controller): void
Adds a reactive controller to the host.
| Name | Type | Description |
|---|---|---|
controller |
ReactiveController |
The reactive controller instance to register. |
void
removeController(controller): void
Removes a reactive controller from the host.
| Name | Type | Description |
|---|---|---|
controller |
ReactiveController |
The reactive controller instance to remove. |
void
requestUpdate(): void
Requests an asynchronous render update of the host element.
void