wix-widget
The wix-widget module contains functionality for working with Blocks widgets from Blocks Panel code. Learn more.
Guides
Additional information about this section
Functions
Perform actions on an object
- getDesignPreset( )
Gets the widget's current design preset.
- getNestedWidget( )
Gets the wix-widget module scoped to an inner (nested) widget.
- getProps( )
Gets the widget's properties.
- setDesignPreset( )
Sets the widget's design preset.
- setProps( )
Sets the widget's properties. You can also assign a partial subset of the widget's properties.