Module dioxus_native_core::custom_element
source · 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
- A controlled element that renders to a shadow DOM.
- A factory for creating custom elements
- A trait for updating custom elements