Trait moxie_dom::interfaces::node::Parent   [−][src]
pub trait Parent<C: Child>: NodeWrapper {
    fn child<T: NodeBuilder<Output = C>>(self, child: T) -> Self { ... }
}Expand description
A node which accepts children.
Note:
Cis constrained byChildrather thanNodeWrapperto allow custom components to be bound directly to DOM types.
Provided methods
fn child<T: NodeBuilder<Output = C>>(self, child: T) -> Self
fn child<T: NodeBuilder<Output = C>>(self, child: T) -> Self
Add a child to this node.