au-widget-design-editor/Commands/update-container-settings-command
Classes
UpdateContainerSettingsCommand
A command that updates channel containers with new parameters.
For details, see the IChannelContainerDefinition topic.
{
"type": "design-editor",
"name": "editor",
"params": {
"initial": { ... },
"updateContainerSettings": [
{
"Foil": {
"texture": "{{ $['foil']._.props.texture }}"
},
"Raised Ink": {
"texture": "{{ $['paper']._.props.textColor }}"
}
}
]
}
}
Extends
Methods
execute()
execute(params, oldParams): Promise<void>;
Executes this command.
Parameters
| Parameter | Type | Description |
|---|---|---|
params | kvObject<string, IChannelContainerDefinition>[] | Parameters for the command. |
oldParams | kvObject<string, IChannelContainerDefinition>[] | - |
Returns
Promise<void>