Expand description

A custom element is a controlled element that renders to a shadow DOM. This allows you to create elements that act like widgets without relying on a specific framework.

Each custom element is registered with a element name and namespace with RealDom::register_custom_element or RealDom::register_custom_element_with_factory. Once registered, they will be created automatically when the element is added to the DOM.

Traits