Introduction

The Widget API enables you to interact with a site widget within the widget's settings panel code.

To use the Widget API, install the @wix/editor package using npm or Yarn:

Copy

or

Copy

Then import the widget module from @wix/editor:

Copy
Did this help?