pub trait DioxusWebComponent {
// Required method
fn element() -> Element;
// Provided methods
fn attributes() -> &'static [&'static str] { ... }
fn style() -> InjectedStyle { ... }
}
Expand description
Dioxus web component
Required Methods§
Provided Methods§
sourcefn attributes() -> &'static [&'static str]
fn attributes() -> &'static [&'static str]
Provide observable attributes
sourcefn style() -> InjectedStyle
fn style() -> InjectedStyle
Provide the CSS style
Object Safety§
This trait is not object safe.