[−][src]Function sauron_core::html::element
pub fn element<NS, TAG, ATT, VAL, EVENT, MSG>(
tag: TAG,
attrs: Vec<Attribute<NS, ATT, VAL, EVENT, MSG>>,
children: Vec<Node<NS, TAG, ATT, VAL, EVENT, MSG>>
) -> Node<NS, TAG, ATT, VAL, EVENT, MSG>
create a virtual node with tag, attrs and children