Trait HasHtmlAttributes

Source
pub trait HasHtmlAttributes {
    // Required methods
    fn set_attributes(&self, node: &HtmlElement) -> Vec<Closure<dyn Fn(Event)>>;
    fn unset_attributes(&self, node: &HtmlElement);
}
Expand description

This trait is used internaly by the use_attributes macro to set and unset the attributes on the html element.

it has to be public but I would not recommend using this trait directly.

Required Methods§

Implementors§