pub type Html = VNode;Expand description
A type which expected as a result of view function implementation.
Aliased Type§
enum Html {
VTag(Box<VTag>),
VText(VText),
VComp(VComp),
VList(VList),
VPortal(VPortal),
VRef(Node),
VSuspense(VSuspense),
VRaw(VRaw),
}Variants§
VTag(Box<VTag>)
A bind between VTag and Element.
VText(VText)
A bind between VText and TextNode.
VComp(VComp)
A bind between VComp and Element.
VList(VList)
A holder for a list of other nodes.
VPortal(VPortal)
A portal to another part of the document
VRef(Node)
A holder for any Node (necessary for replacing node).
VSuspense(VSuspense)
A suspendible document fragment.
VRaw(VRaw)
A raw HTML string, represented by AttrValue.
Also see: [VNode::from_html_unchecked]