Value provider
{
"$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?