Skip to main content

NodeRefAttribute

Trait NodeRefAttribute 

Source
pub trait NodeRefAttribute<E, C>{
    // Provided method
    fn node_ref(self, container: C) -> Self::Output<NodeRefAttr<E, C>>
       where Self: Sized + AddAnyAttr,
             Self::Output<NodeRefAttr<E, C>>: Render { ... }
}
Expand description

Adds the node_ref attribute to an element.

Provided Methods§

Source

fn node_ref(self, container: C) -> Self::Output<NodeRefAttr<E, C>>
where Self: Sized + AddAnyAttr, Self::Output<NodeRefAttr<E, C>>: Render,

Binds this HTML element to a NodeRefContainer.

Implementors§

Source§

impl<E, At, Ch, C> NodeRefAttribute<E, C> for HtmlElement<E, At, Ch>