Preparing search index...
The search index is not available
LISN.js
LISN.js
Widgets
fetchWidgetConfig
Function fetchWidgetConfig
Like
getWidgetConfig
but it accepts an object whose validator functions may return a promise.
fetchWidgetConfig
<
Config
extends
Record
<
string
,
unknown
>
>
(
input
:
undefined
|
null
|
string
|
Record
<
string
,
unknown
>
,
validator
:
WidgetConfigAsyncValidatorObject
<
Config
>
,
separator
?:
string
,
)
:
Promise
<
Config
>
Type Parameters
Config
extends
Record
<
string
,
unknown
>
Parameters
input
:
undefined
|
null
|
string
|
Record
<
string
,
unknown
>
validator
:
WidgetConfigAsyncValidatorObject
<
Config
>
separator
:
string
= "|"
Returns
Promise
<
Config
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LISN.js
Loading...
Like getWidgetConfig but it accepts an object whose validator functions may return a promise.