θaddAdoptedStylesController

Creates and attaches an AdoptedStylesController to a Lit component.

Signature

θaddAdoptedStylesController(host: ReactiveControllerHost & LitElement): AdoptedStylesController

Parameters

  • host: ReactiveControllerHost & LitElement

    The Lit component that will host the controller

Returns

AdoptedStylesController

The created AdoptedStylesController instance