Trilium Frontend API
Preparing search index...
<internal>
h
Function h
h
(
type
:
"input"
,
props
:
DOMAttributes
<
HTMLInputElement
>
&
ClassAttributes
<
HTMLInputElement
>
,
...
children
:
ComponentChildren
[]
,
)
:
VNode
<
DOMAttributes
<
HTMLInputElement
>
&
ClassAttributes
<
HTMLInputElement
>
,
>
Parameters
type
:
"input"
props
:
DOMAttributes
<
HTMLInputElement
>
&
ClassAttributes
<
HTMLInputElement
>
...
children
:
ComponentChildren
[]
Returns
VNode
<
DOMAttributes
<
HTMLInputElement
>
&
ClassAttributes
<
HTMLInputElement
>
>
h
<
P
extends
HTMLAttributes
<
T
>
,
T
extends
HTMLElement
>
(
type
:
keyof
IntrinsicElements
,
props
:
ClassAttributes
<
T
>
&
P
,
...
children
:
ComponentChildren
[]
,
)
:
VNode
<
ClassAttributes
<
T
>
&
P
>
Type Parameters
P
extends
HTMLAttributes
<
T
>
T
extends
HTMLElement
Parameters
type
:
keyof
IntrinsicElements
props
:
ClassAttributes
<
T
>
&
P
...
children
:
ComponentChildren
[]
Returns
VNode
<
ClassAttributes
<
T
>
&
P
>
h
<
P
extends
SVGAttributes
<
T
>
,
T
extends
HTMLElement
>
(
type
:
keyof
IntrinsicSVGElements
,
props
:
ClassAttributes
<
T
>
&
P
,
...
children
:
ComponentChildren
[]
,
)
:
VNode
<
ClassAttributes
<
T
>
&
P
>
Type Parameters
P
extends
SVGAttributes
<
T
>
T
extends
HTMLElement
Parameters
type
:
keyof
IntrinsicSVGElements
props
:
ClassAttributes
<
T
>
&
P
...
children
:
ComponentChildren
[]
Returns
VNode
<
ClassAttributes
<
T
>
&
P
>
h
<
T
extends
HTMLElement
>
(
type
:
string
,
props
:
ClassAttributes
<
T
>
&
HTMLAttributes
<
EventTarget
>
&
SVGAttributes
<
SVGElement
,
>
,
...
children
:
ComponentChildren
[]
,
)
:
VNode
<
ClassAttributes
<
T
>
&
HTMLAttributes
<
EventTarget
>
&
SVGAttributes
<
SVGElement
,
>
,
>
Type Parameters
T
extends
HTMLElement
Parameters
type
:
string
props
:
ClassAttributes
<
T
>
&
HTMLAttributes
<
EventTarget
>
&
SVGAttributes
<
SVGElement
>
...
children
:
ComponentChildren
[]
Returns
VNode
<
ClassAttributes
<
T
>
&
HTMLAttributes
<
EventTarget
>
&
SVGAttributes
<
SVGElement
,
>
,
>
h
<
P
>
(
type
:
string
|
ComponentType
<
P
>
,
props
:
Attributes
&
P
,
...
children
:
ComponentChildren
[]
,
)
:
VNode
<
Attributes
&
P
>
Type Parameters
P
Parameters
type
:
string
|
ComponentType
<
P
>
props
:
Attributes
&
P
...
children
:
ComponentChildren
[]
Returns
VNode
<
Attributes
&
P
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Trilium Frontend API
Loading...