Preparing search index...
The search index is not available
@zeix/ui-element
@zeix/ui-element
asJSON
Function asJSON
Parse an attribute as a JSON serialized object with a fallback
Since
0.11.0
asJSON
<
T
extends
{}
>
(
fallback
:
T
)
:
(
value
:
null
|
string
)
=>
T
Type Parameters
T
extends
{}
Parameters
fallback
:
T
fallback value
Returns
(
value
:
null
|
string
)
=>
T
parser function
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@zeix/ui-element
Loading...
Parse an attribute as a JSON serialized object with a fallback
Since
0.11.0