Preparing search index...
The search index is not available
@zeix/ui-element
@zeix/ui-element
State
Type Alias State<T>
State
:
{
"[toStringTag]"
:
"State"
;
match
:
(
cb
:
EffectCallbacks
<
[
State
<
T
>
]
>
)
=>
void
;
get
()
:
T
;
map
<
U
extends
{}
>
(
cb
:
ComputedCallbacks
<
U
,
[
State
<
T
>
]
>
)
:
Computed
<
U
>
;
set
(
v
:
T
)
:
void
;
update
(
fn
:
(
v
:
T
)
=>
T
)
:
void
;
}
Type Parameters
T
extends
{}
Type declaration
[toStringTag]
:
"State"
match
:
(
cb
:
EffectCallbacks
<
[
State
<
T
>
]
>
)
=>
void
get
:
function
get
()
:
T
Returns
T
map
:
function
map
<
U
extends
{}
>
(
cb
:
ComputedCallbacks
<
U
,
[
State
<
T
>
]
>
)
:
Computed
<
U
>
Type Parameters
U
extends
{}
Parameters
cb
:
ComputedCallbacks
<
U
,
[
State
<
T
>
]
>
Returns
Computed
<
U
>
set
:
function
set
(
v
:
T
)
:
void
Parameters
v
:
T
Returns
void
update
:
function
update
(
fn
:
(
v
:
T
)
=>
T
)
:
void
Parameters
fn
:
(
v
:
T
)
=>
T
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@zeix/ui-element
Loading...