Function mt_dom::element[][src]

pub fn element<NS, TAG, ATT, VAL, EVENT>(
    tag: TAG,
    attrs: Vec<Attribute<NS, ATT, VAL, EVENT>>,
    children: Vec<Node<NS, TAG, ATT, VAL, EVENT>>
) -> Node<NS, TAG, ATT, VAL, EVENT> where
    NS: PartialEq + Clone + Debug,
    TAG: PartialEq + Clone + Debug,
    ATT: PartialEq + Clone + Debug,
    VAL: PartialEq + Clone + Debug,
    EVENT: PartialEq + Clone + Debug
Expand description

create a virtual node with tag, attrs and children