Interface IWidgetDataDrivenParams
Provides configuration for the Data-Driven Editor widget. You can use this interface to define the params of the widget.
{
"name": "dd-editor",
"type": "data-driven-editor",
"params": {
"config": {
"access": { "tenantId": "tenant1", "userId": "user1", "token": "token1" },
"design": { "designId": "design1", "dataSetId": "dataset1" },
"api": { "designAtoms": "https://api.example.com/design-atoms" },
"settings": { "lang": "en", "allowManipulations": false }
},
"onReady": "{{#function \$['dd-editor'].setUserInfo({ 'Name': 'John' }) }}"
}
}
Package: ui-framework
Properties
config
Configuration object for the Data-Driven Editor.
Declaration
config: IEditorConfig
Property Value
| Type | Description |
|---|---|
| IEditorConfig | Configuration object for the Data-Driven Editor. |
onReady
Function or array of functions to be called when the editor is ready.
Declaration
onReady: Function | Array<Function>
Property Value
| Type | Description |
|---|---|
| Function | Array<Function> | Function or array of functions to be called when the editor is ready. |