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