Interface ICanvasDefinitionModifyItems
Provides properties to change properties of design elements in the editor. For details, you can refer to the ModifyItems command.
{
"type": "canvas",
"name": "editor",
"params": {
"initial": { ... },
"modifyItems": {
"items": {
"Name": {
"value": "Neo"
},
"Company": {
"value": "Matrix"
}
}
}
}
}
Package: ui-framework
Properties
after
The next commands to be executed after this command completes.
Declaration
after?: string | string[]
Property Value
Type | Description |
---|---|
string | string[] | The next commands to be executed after this command completes. |
every
Changes for every canvas item.
Declaration
every?: CanvasItemChanges
Property Value
Type | Description |
---|---|
CanvasItemChanges | Changes for every canvas item. |
items
Changes for specific items.
Declaration
items: [key: string]: CanvasItemChanges
Property Value
Type | Description |
---|---|
[key: string]: CanvasItemChanges | Changes for specific items. |