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ยง
- Custom
Element - A controlled element that renders to a shadow DOM.
- Custom
Element Factory - A factory for creating custom elements
- Custom
Element Updater - A trait for updating custom elements