Trait leptos_dom::Mountable

source ·
pub trait Mountable {
    fn mount(&self, parent: &Element);
}
Expand description

Describes a type that can be mounted to a parent element in the DOM.

Required Methods§

Injects the element into the parent as its next child.

Implementations on Foreign Types§

Implementors§