An instance of this function is available in component context and is used by @AttachShadow
decorator to attach shadow root to decorated component's custom element.
By default, if shadow root already exists for the component's element, it uses one.
Dispatches a wesib:shadowAttached event for the found or attached shadow root.
Shadow root builder function type.
An instance of this function is available in component context and is used by @AttachShadow decorator to attach shadow root to decorated component's custom element.
By default, if shadow root already exists for the component's element, it uses one.
Dispatches a
wesib:shadowAttached
event for the found or attached shadow root.