Home / File/ vnode.ts — vue Source File

vnode.ts — vue Source File

Architecture documentation for vnode.ts, a typescript file in the vue codebase. 6 imports, 1 dependents.

File typescript VueCore Observer 6 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  648722e5_d55d_648d_6861_55bad881e189["vnode.ts"]
  ba29f985_44b7_4ac5_07cd_a4e17537349a["component.ts"]
  648722e5_d55d_648d_6861_55bad881e189 --> ba29f985_44b7_4ac5_07cd_a4e17537349a
  cd5e3304_b18e_ac2d_84bc_fcd7b8e076cd["Component"]
  648722e5_d55d_648d_6861_55bad881e189 --> cd5e3304_b18e_ac2d_84bc_fcd7b8e076cd
  155f72a7_8db4_5e38_a27c_e709852883ee["compiler.ts"]
  648722e5_d55d_648d_6861_55bad881e189 --> 155f72a7_8db4_5e38_a27c_e709852883ee
  edc038b6_25bf_6199_0fc4_7604ffef6631["ASTModifiers"]
  648722e5_d55d_648d_6861_55bad881e189 --> edc038b6_25bf_6199_0fc4_7604ffef6631
  973389ac_8625_30a3_53ce_b1b48fae58c5["vnode"]
  648722e5_d55d_648d_6861_55bad881e189 --> 973389ac_8625_30a3_53ce_b1b48fae58c5
  d970b406_3424_b00e_55dd_82e98ab5aac2["v3"]
  648722e5_d55d_648d_6861_55bad881e189 --> d970b406_3424_b00e_55dd_82e98ab5aac2
  ba29f985_44b7_4ac5_07cd_a4e17537349a["component.ts"]
  ba29f985_44b7_4ac5_07cd_a4e17537349a --> 648722e5_d55d_648d_6861_55bad881e189
  style 648722e5_d55d_648d_6861_55bad881e189 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import VNode from 'core/vdom/vnode'
import { Ref } from 'v3'
import { Component } from './component'
import { ASTModifiers } from './compiler'

/**
 * @internal
 */
export type VNodeChildren =
  | Array<null | VNode | string | number | VNodeChildren>
  | string

/**
 * @internal
 */
export type VNodeComponentOptions = {
  Ctor: typeof Component
  propsData?: Object
  listeners?: Record<string, Function | Function[]>
  children?: Array<VNode>
  tag?: string
}

/**
 * @internal
 */
export type MountedComponentVNode = VNode & {
  context: Component
  componentOptions: VNodeComponentOptions
  componentInstance: Component
  parent: VNode
  data: VNodeData
}

/**
 * @internal
 */
// interface for vnodes in update modules
export type VNodeWithData = VNode & {
  tag: string
  data: VNodeData
  children: Array<VNode>
  text: void
  elm: any
  ns: string | void
  context: Component
  key: string | number | undefined
  parent?: VNodeWithData
  componentOptions?: VNodeComponentOptions
  componentInstance?: Component
  isRootInsert: boolean
}

// // interface for vnodes in update modules
// export type VNodeWithData = {
//   tag: string;
//   data: VNodeData;
//   children: Array<VNode>;
//   text: void;
//   elm: any;
// ... (68 more lines)

Domain

Subdomains

Functions

Frequently Asked Questions

What does vnode.ts do?
vnode.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, Observer subdomain.
What functions are defined in vnode.ts?
vnode.ts defines 1 function(s): el.
What does vnode.ts depend on?
vnode.ts imports 6 module(s): ASTModifiers, Component, compiler.ts, component.ts, v3, vnode.
What files import vnode.ts?
vnode.ts is imported by 1 file(s): component.ts.
Where is vnode.ts in the architecture?
vnode.ts is located at src/types/vnode.ts (domain: VueCore, subdomain: Observer, directory: src/types).

Analyze Your Own Codebase

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

Try Supermodel Free