Important: This module is available only in Wix Blocks. Wix Blocks is an editor for building Wix apps.

The wix-widget API is used within the code of panels built with the Blocks Panel Builder. It enables your panel to interact with your Blocks widgets by controlling their properties, design presets, and more.
To use this API, import wixWidget from the wix-widget module:

import wixWidget from 'wix-widget';
javascript | Copy Code

Was this helpful?