Interface ICanvasCommandDefinition
Provides the after
property to support a queue of commands.
The following example illustrates how you can run the setViewerSettings
command after setPrintArea
completes.
{
"widgets": [{
"type": "canvas",
"name": "editor",
"params": {
"inital": { ... },
"setViewerSettings": "{{vars.zoomSettings[$['flyer-size']._.title]}}",
"setPrintArea": {
"data": {
"designFile": "{{$['flyer-gallery']._.name}}"
},
"after": [
"setViewerSettings"
]
}
}
}]
}
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. |