Home / Type/ VNodeData Type — vue Architecture

VNodeData Type — vue Architecture

Architecture documentation for the VNodeData type/interface in vnode.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  9d2c914f_5cc8_f0ca_7040_9499f63aa4dc["VNodeData"]
  648722e5_d55d_648d_6861_55bad881e189["vnode.ts"]
  9d2c914f_5cc8_f0ca_7040_9499f63aa4dc -->|defined in| 648722e5_d55d_648d_6861_55bad881e189
  style 9d2c914f_5cc8_f0ca_7040_9499f63aa4dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/types/vnode.ts lines 73–106

export interface VNodeData {
  key?: string | number
  slot?: string
  ref?: string | Ref | ((el: any) => void)
  is?: string
  pre?: boolean
  tag?: string
  staticClass?: string
  class?: any
  staticStyle?: { [key: string]: any }
  style?: string | Array<Object> | Object
  normalizedStyle?: Object
  props?: { [key: string]: any }
  attrs?: { [key: string]: string }
  domProps?: { [key: string]: any }
  hook?: { [key: string]: Function }
  on?: { [key: string]: Function | Array<Function> }
  nativeOn?: { [key: string]: Function | Array<Function> }
  transition?: Object
  show?: boolean // marker for v-show
  inlineTemplate?: {
    render: Function
    staticRenderFns: Array<Function>
  }
  directives?: Array<VNodeDirective>
  keepAlive?: boolean
  scopedSlots?: { [key: string]: Function }
  model?: {
    value: any
    callback: Function
  }

  [key: string]: any
}

Defined In

Frequently Asked Questions

What is the VNodeData type?
VNodeData is a type/interface in the vue codebase, defined in src/types/vnode.ts.
Where is VNodeData defined?
VNodeData is defined in src/types/vnode.ts at line 73.

Analyze Your Own Codebase

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

Try Supermodel Free