[][src]Trait mogwai::view::interface::ElementView

pub trait ElementView {
    pub fn element(tag: &str) -> Self;
pub fn element_ns(tag: &str, ns: &str) -> Self; }

ElementViews are views that represent DOM elements.

Required methods

pub fn element(tag: &str) -> Self[src]

Create a view with the given element tag.

pub fn element_ns(tag: &str, ns: &str) -> Self[src]

Create a view with the given element tag and namespace.

Loading content...

Implementors

impl<T: IsDomNode + AsRef<Node> + 'static> ElementView for ViewBuilder<T>[src]

impl<T: IsDomNode> ElementView for View<T>[src]

Loading content...