Value provider
If the provider is set then it will be used to provide the value for this prop.
Provider handler options
providerRequestData
(optional)
key
mapResponseData
(optional)
{
"$providers": {
"random-value": {
"source": {
"virtualEvent": "random-value"
},
"cache": false
}
},
"schema": {
"type": "object",
"properties": {
"intervalProp": {
"type": "string",
"title": "Interval provider",
"provider": {
"key": "random-value",
"customTriggers": [{ "interval": 1000 }],
"mapResponseData": {
"$eval": "return $response && $response.toString()"
}
}
}
}
},
"layout": {
"type": "div",
"items": [
{
"key": "intervalProp"
}
]
}
}
Last updated
Was this helpful?