maquette
    Preparing search index...

    Interface VNode

    A virtual representation of a DOM Node. Maquette assumes that VNode objects are never modified externally. Instances of VNode can be created using h.

    interface VNode {
        children: undefined | VNode[];
        domNode: null | Node;
        properties: undefined | VNodeProperties;
        text: undefined | string;
        vnodeSelector: string;
    }
    Index

    Properties

    children: undefined | VNode[]

    Array of VNodes to be used as children. This array is already flattened.

    domNode: null | Node

    Used by maquette to store the domNode that was produced from this VNode.

    properties: undefined | VNodeProperties

    Object containing attributes, properties, event handlers and more, see h.

    text: undefined | string

    Used in a special case when a VNode only has one child node which is a text node. Only used in combination with children === undefined.

    vnodeSelector: string

    The CSS selector containing tagname, css classnames and id. An empty string is used to denote a text node.