This module is available only in Wix Blocks
Wix Blocks is a workspace for building Wix apps. It is currently a Beta version, open to a limited number of users.

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?