Skip to content

wevu / index / VNode

接口: VNode<HostNode, HostElement, ExtraProps>

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1207

类型参数

HostNode

HostNode = RendererNode

HostElement

HostElement = RendererElement

ExtraProps

ExtraProps = {[key: string]: any; }

属性

anchor

anchor: HostNode | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1225


appContext

appContext: AppContext | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1232


children

children: VNodeNormalizedChildren

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1219


component

component: ComponentInternalInstance | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1220


dirs

dirs: DirectiveBinding<any, string, any>[] | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1221


el

el: HostNode | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1223


key

key: PropertyKey | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1212


patchFlag

patchFlag: number

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1231


placeholder

placeholder: HostNode | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1224


props

props: VNodeProps & ExtraProps | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1211


ref

ref: VNodeNormalizedRef | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1213


scopeId

scopeId: string | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1218

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


shapeFlag

shapeFlag: number

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1230


suspense

suspense: SuspenseBoundary | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1229


target

target: HostElement | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1226


targetAnchor

targetAnchor: HostNode | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1228


targetStart

targetStart: HostNode | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1227


transition

transition: TransitionHooks<HostElement> | null

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1222


type

type: VNodeTypes

定义于: node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1210

Released under the MIT License.