constructor() — vue Function Reference
Architecture documentation for the constructor() function in vnode.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD f0c07912_34fd_4949_f5e2_a0c34105bc77["constructor()"] 5ad3a184_20dd_3738_991b_41d3120e21c9["VNode"] f0c07912_34fd_4949_f5e2_a0c34105bc77 -->|defined in| 5ad3a184_20dd_3738_991b_41d3120e21c9 style f0c07912_34fd_4949_f5e2_a0c34105bc77 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/vdom/vnode.ts lines 38–71
constructor(
tag?: string,
data?: VNodeData,
children?: Array<VNode> | null,
text?: string,
elm?: Node,
context?: Component,
componentOptions?: VNodeComponentOptions,
asyncFactory?: Function
) {
this.tag = tag
this.data = data
this.children = children
this.text = text
this.elm = elm
this.ns = undefined
this.context = context
this.fnContext = undefined
this.fnOptions = undefined
this.fnScopeId = undefined
this.key = data && data.key
this.componentOptions = componentOptions
this.componentInstance = undefined
this.parent = undefined
this.raw = false
this.isStatic = false
this.isRootInsert = true
this.isComment = false
this.isCloned = false
this.isOnce = false
this.asyncFactory = asyncFactory
this.asyncMeta = undefined
this.isAsyncPlaceholder = false
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the vue codebase, defined in src/core/vdom/vnode.ts.
Where is constructor() defined?
constructor() is defined in src/core/vdom/vnode.ts at line 38.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free