vue-lynx / h

Function: h()

h(type, children)

function h<K>(type, children?): VNode

Type Parameters

Type Parameter
K extends keyof HTMLElementTagNameMap

Parameters

ParameterType
typeK
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<K>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type Parameter
K extends keyof HTMLElementTagNameMap

Parameters

ParameterType
typeK
props?null | VNodeProps & object & Record<string, any> & HTMLElementEventHandler
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
typestring
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h(
   type, 
   props?, 
   children?): VNode

Parameters

ParameterType
typestring
props?null | RawProps
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
typetypeof Text | typeof Comment
children?string | number | boolean

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h(
   type, 
   props?, 
   children?): VNode

Parameters

ParameterType
typetypeof Text | typeof Comment
props?null
children?string | number | boolean

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
type() => object
type.__isFragmenttrue
children?VNodeArrayChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h(
   type, 
   props?, 
   children?): VNode

Parameters

ParameterType
type() => object
type.__isFragmenttrue
props?null | RawProps
children?VNodeArrayChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h(
   type, 
   props, 
   children): VNode

Parameters

ParameterType
type() => object
type.__isTeleporttrue
propsVNodeProps & object & Record<string, any> & TeleportProps
childrenRawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
type() => object
type.__isSuspensetrue
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h(
   type, 
   props?, 
   children?): VNode

Parameters

ParameterType
type() => object
type.__isSuspensetrue
props?null | VNodeProps & object & Record<string, any> & SuspenseProps
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<P, E, S>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type ParameterDefault type
P-
E extends EmitsOptionsobject
S extends Record<string, any>any

Parameters

ParameterType
typeFunctionalComponent<P, any, S, any>
props?VNodeProps & object & Record<string, any> & P | object extends P ? null : never
children?RawChildren | IfAny<S, RawSlots, S>

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
typeComponent<any, any, any, ComputedOptions, MethodOptions, object, any>
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h<P>(type, children?): VNode

Type Parameters

Type Parameter
P

Parameters

ParameterType
typestring | ConcreteComponent<object, any, any, ComputedOptions, MethodOptions, object, any>
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<P>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type Parameter
P

Parameters

ParameterType
typestring | ConcreteComponent<P, any, any, ComputedOptions, MethodOptions, object, any>
props?VNodeProps & object & Record<string, any> & P | object extends P ? null : never
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<P>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type Parameter
P

Parameters

ParameterType
typeComponent<P, any, any, ComputedOptions, MethodOptions, object, any>
props?null | VNodeProps & object & Record<string, any> & P
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<P>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type Parameter
P

Parameters

ParameterType
typeComponentOptions<P, any, any, any, any, any, any, any, string, object, object, string, object, object, object, string, ComponentProvideOptions>
props?VNodeProps & object & Record<string, any> & P | object extends P ? null : never
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
typeConstructor<any>
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<P>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type Parameter
P

Parameters

ParameterType
typeConstructor<P>
props?VNodeProps & object & Record<string, any> & P | object extends P ? null : never
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
typeDefineComponent<object, object, object, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, object, string, PublicProps, Readonly<ExtractPropTypes<object>>, object, object, object, object, string, ComponentProvideOptions, true, object, any>
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<P>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type Parameter
P

Parameters

ParameterType
typeDefineComponent<P, object, object, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, object, string, PublicProps, Readonly<P extends ComponentPropsOptions<Data> ? ExtractPropTypes<P<P>> : P>, ExtractDefaultPropTypes<P>, object, object, object, string, ComponentProvideOptions, true, object, any>
props?VNodeProps & object & Record<string, any> & P | object extends P ? null : never
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, children)

function h(type, children?): VNode

Parameters

ParameterType
typestring | Component<any, any, any, ComputedOptions, MethodOptions, object, any>
children?RawChildren

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803

h(type, props, children)

function h<P>(
   type, 
   props?, 
   children?): VNode

Type Parameters

Type Parameter
P

Parameters

ParameterType
typestring | Component<P, any, any, ComputedOptions, MethodOptions, object, any>
props?VNodeProps & object & Record<string, any> & P | object extends P ? null : never
children?RawChildren | RawSlots

Returns

VNode

Defined in

packages/vue-lynx/runtime/src/index.ts:803