getDesignPreset( )


Gets the widget's current design preset.

The getDesignPreset() function returns a Promise that resolves to the widget's current preset name. To use this function on an inner (nested) widget, use getNestedWidget().

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<string>
Did this help?