Preparing search index...
The search index is not available
@zeix/ui-element
@zeix/ui-element
setText
Function setText
Set text content of an element
Since
0.8.0
setText
<
E
extends
Element
>
(
s
:
SignalLike
<
string
>
,
)
:
(
host
:
UIElement
<
{}
>
,
target
:
E
,
index
:
number
)
=>
void
Type Parameters
E
extends
Element
Parameters
s
:
SignalLike
<
string
>
state bound to the text content
Returns
(
host
:
UIElement
<
{}
>
,
target
:
E
,
index
:
number
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@zeix/ui-element
Loading...
Set text content of an element
Since
0.8.0