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: C is constrained by Child rather than NodeWrapper to allow custom components to be bound directly to DOM types.

Provided methods

Add a child to this node.

Implementors