setDesignPreset( )


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().

Method Declaration
Copy
Method Parameters
presetstringRequired

Preset name.

Was this helpful?
Yes
No