maquette
    Preparing search index...

    Interface Projection

    Represents a VNode tree that has been rendered to a real DOM tree.

    interface Projection {
        domNode: Element;
        getLastRender(): VNode;
        update(updatedVnode: VNode): void;
    }
    Index

    Properties

    Methods

    Properties

    domNode: Element

    The DOM node that is used as the root of this Projection.

    Methods

    • Updates the real DOM to match the new virtual DOM tree.

      Parameters

      • updatedVnode: VNode

        The updated virtual DOM tree. Note: The selector for the root of the VNode tree may not change.

      Returns void