Trait DomElement

Source
pub trait DomElement {
    type Target: Into<Element> + AsRef<Element> + Clone;

    // Required method
    fn dom_element(&self) -> Self::Target;
}
Expand description

Get a raw Javascript, non-reactive DOM element.

Required Associated Types§

Required Methods§

Source

fn dom_element(&self) -> Self::Target

Implementations on Foreign Types§

Source§

impl<T> DomElement for Option<T>
where T: DomElement,

Implementors§