Vue.js · Function
h
Vue's h function creates virtual DOM nodes. It accepts an element or component type, optional props, and optional children or slots.
Last updated
Syntax
function h(type: string | Component, props?: object | null, children?: Children | Slot | Slots): VNode
function h(type: string | Component, children?: Children | Slot): VNodeIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
VNodeComponentcreateVNodeRender Functions & JSX