vnode.d.ts — vue Source File
Architecture documentation for vnode.d.ts, a typescript file in the vue codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 539d04d0_1559_45c0_9164_8dba901f6533["vnode.d.ts"] e18e9f3d_948d_4f1a_0cfd_ef136d459adc["./jsx"] 539d04d0_1559_45c0_9164_8dba901f6533 --> e18e9f3d_948d_4f1a_0cfd_ef136d459adc 704ad6e7_d5ea_d033_64be_87fc9e6478c1["./vue"] 539d04d0_1559_45c0_9164_8dba901f6533 --> 704ad6e7_d5ea_d033_64be_87fc9e6478c1 ca28faa9_216b_2023_c479_b397edce4bfb["./options"] 539d04d0_1559_45c0_9164_8dba901f6533 --> ca28faa9_216b_2023_c479_b397edce4bfb c7199525_87aa_5674_ea7c_b4ecdca417bc["./v3-generated"] 539d04d0_1559_45c0_9164_8dba901f6533 --> c7199525_87aa_5674_ea7c_b4ecdca417bc 96f06168_0871_17bf_9830_69fa4510866a["./v3-component-public-instance"] 539d04d0_1559_45c0_9164_8dba901f6533 --> 96f06168_0871_17bf_9830_69fa4510866a style 539d04d0_1559_45c0_9164_8dba901f6533 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { StyleValue } from './jsx'
import { Vue } from './vue'
import { DirectiveFunction, DirectiveOptions } from './options'
import { Ref } from './v3-generated'
import { ComponentPublicInstance } from './v3-component-public-instance'
/**
* For extending allowed non-declared props on components in TSX
*/
export interface ComponentCustomProps {}
/**
* Default allowed non-declared props on component in TSX
*/
export interface AllowedComponentProps {
class?: unknown
style?: unknown
}
export type ScopedSlot = (props: any) => ScopedSlotReturnValue
type ScopedSlotReturnValue =
| VNode
| string
| boolean
| number
| null
| undefined
| ScopedSlotReturnArray
interface ScopedSlotReturnArray extends Array<ScopedSlotReturnValue> {}
// Scoped slots are guaranteed to return Array of VNodes starting in 2.6
export type NormalizedScopedSlot = (props: any) => ScopedSlotChildren
export type ScopedSlotChildren = VNode[] | undefined
// Relaxed type compatible with $createElement
export type VNodeChildren =
| VNodeChildrenArrayContents
| [ScopedSlot]
| string
| boolean
| number
| null
| undefined
export interface VNodeChildrenArrayContents
extends Array<VNodeChildren | VNode> {}
export interface VNode {
tag?: string
data?: VNodeData
children?: VNode[]
text?: string
elm?: Node
ns?: string
context?: Vue
key?: string | number | symbol | boolean
componentOptions?: VNodeComponentOptions
componentInstance?: Vue
parent?: VNode
raw?: boolean
isStatic?: boolean
isRootInsert: boolean
isComment: boolean
}
export interface VNodeComponentOptions {
Ctor: typeof Vue
propsData?: object
listeners?: object
children?: VNode[]
tag?: string
}
export type VNodeRef =
| string
| Ref
| ((
ref: Element | ComponentPublicInstance | null,
refs: Record<string, any>
) => void)
export interface VNodeData {
key?: string | number
slot?: string
scopedSlots?: { [key: string]: ScopedSlot | undefined }
ref?: VNodeRef
refInFor?: boolean
tag?: string
staticClass?: string
class?: any
staticStyle?: { [key: string]: any }
style?: StyleValue
props?: { [key: string]: any }
attrs?: { [key: string]: any }
domProps?: { [key: string]: any }
hook?: { [key: string]: Function }
on?: { [key: string]: Function | Function[] }
nativeOn?: { [key: string]: Function | Function[] }
transition?: object
show?: boolean
inlineTemplate?: {
render: Function
staticRenderFns: Function[]
}
directives?: VNodeDirective[]
keepAlive?: boolean
}
export interface VNodeDirective {
name: string
value?: any
oldValue?: any
expression?: string
arg?: string
oldArg?: string
modifiers?: { [key: string]: boolean }
def?: DirectiveFunction | DirectiveOptions
}
Domain
Subdomains
Types
Dependencies
- ./jsx
- ./options
- ./v3-component-public-instance
- ./v3-generated
- ./vue
Source
Frequently Asked Questions
What does vnode.d.ts do?
vnode.d.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.d.ts?
vnode.d.ts defines 3 function(s): ScopedSlotChildren, ScopedSlotReturnValue, ref.
What does vnode.d.ts depend on?
vnode.d.ts imports 5 module(s): ./jsx, ./options, ./v3-component-public-instance, ./v3-generated, ./vue.
Where is vnode.d.ts in the architecture?
vnode.d.ts is located at types/vnode.d.ts (domain: VueCore, subdomain: Observer, directory: types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free