Sets the widget's design preset.
The setDesignPreset()
function returns a Promise that resolves when the design preset is set. To use this function on an inner (nested) widget, use getNestedWidget()
.
Note:
The setDesignPreset()
function doesn't work in preview mode.
Preset name.