Note: This function is supported only on Blocks widgets.
Sets the widget's design preset.
To use this function on an inner (nested) widget, use getNestedWidget()
.
Name | Type | Description |
---|---|---|
designPresetName | string | Name of the design preset. |
Promise<void>