interface VNode

Properties

anchor

Signature
anchor: HostNode | null;

appContext

Signature
appContext: AppContext | null;

children

Signature
children: VNodeNormalizedChildren;

component

Signature
component: ComponentInternalInstance | null;

dirs

Signature
dirs: DirectiveBinding[] | null;

el

Signature
el: HostNode | null;

key

Signature
key: string | number | symbol | null;

patchFlag

Signature
patchFlag: number;

props

Signature
props: (VNodeProps & ExtraProps) | null;

ref

Signature
ref: VNodeNormalizedRef | null;

scopeId

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

Signature
scopeId: string | null;

shapeFlag

Signature
shapeFlag: number;

suspense

Signature
suspense: SuspenseBoundary | null;

target

Signature
target: HostElement | null;

targetAnchor

Signature
targetAnchor: HostNode | null;

transition

Signature
transition: TransitionHooks<HostElement> | null;

type

Signature
type: VNodeTypes;