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
  9346a995_84a8_5da5_a8c8_d858bb86ad50["VNodeData"]
  8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae["vnode.ts"]
  9346a995_84a8_5da5_a8c8_d858bb86ad50 -->|defined in| 8c54f2a2_a72b_0919_f6c3_bb6b0e61fdae
  style 9346a995_84a8_5da5_a8c8_d858bb86ad50 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