- h<K>(type, children?): VNode
Type Parameters
K extends keyof HTMLElementTagNameMap
Parameters
type: K
Optional
children: RawChildren
- h<K>(type, props?, children?): VNode
Type Parameters
K extends keyof HTMLElementTagNameMap
Parameters
type: K
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & HTMLElementEventHandler
Optional
children: RawSlots | RawChildren
- h(type, children?): VNode
Parameters
type: string
Optional
children: RawChildren
- h(type, props?, children?): VNode
Parameters
type: string
Optional
props: RawProps
Optional
children: RawSlots | RawChildren
- h(type, children?): VNode
Parameters
type: typeof Text | typeof Comment
Optional
children: string | number | boolean
- h(type, props?, children?): VNode
Parameters
type: typeof Text | typeof Comment
Optional
props: null
Optional
children: string | number | boolean
- h(type, children?): VNode
Parameters
type: {
__isFragment: true;
new (): {
$props: VNodeProps;
};
}
- h(type, props?, children?): VNode
Parameters
type: {
__isFragment: true;
new (): {
$props: VNodeProps;
};
}
Optional
props: RawProps
- h(type, props, children): VNode
- h(type, children?): VNode
Parameters
Optional
children: RawChildren
- h(type, props?, children?): VNode
Parameters
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & SuspenseProps
Optional
children: RawSlots | RawChildren
- h<P, E, S>(type, props?, children?): VNode
Type Parameters
P
S extends Record<string, any> = any
Parameters
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & P | ({} extends P
? null
: never)
Optional
children: RawChildren | IfAny<S, RawSlots, S>
- h(type, children?): VNode
Parameters
Optional
children: RawChildren
- h<P>(type, children?): VNode
Parameters
Optional
children: RawChildren
- h<P>(type, props?, children?): VNode
Parameters
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & P | ({} extends P
? null
: never)
Optional
children: RawChildren
- h<P>(type, props?, children?): VNode
Parameters
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & P
Optional
children: RawSlots | RawChildren
- h<P>(type, props?, children?): VNode
Parameters
type: ComponentOptions<P, any, any, any, any, any, any, any, any>
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & P | ({} extends P
? null
: never)
Optional
children: RawSlots | RawChildren
- h(type, children?): VNode
Parameters
type: Constructor<any>
Optional
children: RawChildren
- h<P>(type, props?, children?): VNode
Parameters
type: Constructor<P>
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & P | ({} extends P
? null
: never)
Optional
children: RawSlots | RawChildren
- h(type, children?): VNode
Parameters
Optional
children: RawChildren
- h<P>(type, props?, children?): VNode
Parameters
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & P | ({} extends P
? null
: never)
Optional
children: RawSlots | RawChildren
- h(type, children?): VNode
Parameters
Optional
children: RawChildren
- h<P>(type, props?, children?): VNode
Parameters
Optional
props: VNodeProps & {
[iterator]?: never;
__v_isVNode?: never;
} & Record<string, any> & P | ({} extends P
? null
: never)
Optional
children: RawSlots | RawChildren