Interface VNode<HostNode, HostElement, ExtraProps>

interface VNode<HostNode, HostElement, ExtraProps> {
    anchor: HostNode;
    appContext: AppContext;
    children: VNodeNormalizedChildren;
    component: ComponentInternalInstance;
    dirs: DirectiveBinding<any>[];
    el: HostNode;
    key: string | number | symbol;
    patchFlag: number;
    props: VNodeProps & ExtraProps;
    ref: VNodeNormalizedRef;
    scopeId: string;
    shapeFlag: number;
    suspense: SuspenseBoundary;
    target: HostElement;
    targetAnchor: HostNode;
    transition: TransitionHooks<HostElement>;
    type: VNodeTypes;
}

Type Parameters

Properties

anchor: HostNode
appContext: AppContext
dirs: DirectiveBinding<any>[]
key: string | number | symbol
patchFlag: number
ref: VNodeNormalizedRef
scopeId: string

SFC only. This is assigned on vnode creation using currentScopeId which is set alongside currentRenderingInstance.

shapeFlag: number
target: HostElement
targetAnchor: HostNode

Generated using TypeDoc