Home / Function/ constructor() — vue Function Reference

constructor() — vue Function Reference

Architecture documentation for the constructor() function in vnode.ts from the vue codebase.

Function typescript CoreInstance VDOM calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  4c6fcd8e_8bcb_c9b8_87ee_88316cb04605["constructor()"]
  23664868_1ebc_ec78_8e7a_31d054089810["constructor()"]
  23664868_1ebc_ec78_8e7a_31d054089810 -->|calls| 4c6fcd8e_8bcb_c9b8_87ee_88316cb04605
  6123205e_b22d_9212_029b_bd500bbb86f6["constructor()"]
  4c6fcd8e_8bcb_c9b8_87ee_88316cb04605 -->|calls| 6123205e_b22d_9212_029b_bd500bbb86f6
  style 4c6fcd8e_8bcb_c9b8_87ee_88316cb04605 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

Called By

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the vue codebase.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 1 function(s): constructor.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free