pub type VirtualNodeWebSys = VirtualNode<Window>;Expand description
A VirtualNode whose RealDom is a web_sys::Window.
Aliased Type§
pub enum VirtualNodeWebSys {
Element(VirtualElement<Window>),
Text(VirtualText),
}Variants§
Element(VirtualElement<Window>)
An element node (node type ELEMENT_NODE).
Text(VirtualText)
A text node (node type TEXT_NODE).
Note: This wraps a VText instead of a plain String in
order to enable custom methods like create_text_node() on the
wrapped type.