Skip to main content

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
ParameterTypeDescription
paramskvObject<string, IChannelContainerDefinition>[]Parameters for the command.
oldParamskvObject<string, IChannelContainerDefinition>[]-
Returns

Promise<void>

Overrides

DesignEditorWidgetCommand.execute

Was this page helpful?