Skip to main content

VirtualNodeWebSys

Type Alias VirtualNodeWebSys 

Source
pub type VirtualNodeWebSys = VirtualNode<Window>;
Expand description

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.