Preparing search index...
The search index is not available
@zeix/ui-element
@zeix/ui-element
state
Function state
Create a new state signal
Since
0.9.0
state
<
T
extends
{}
>
(
initialValue
:
T
)
:
State
<
T
>
Type Parameters
T
extends
{}
Parameters
initialValue
:
T
initial value of the state
Returns
State
<
T
>
new state signal
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@zeix/ui-element
Loading...
Create a new state signal
Since
0.9.0