$widget
The $widget
namespace contains functionality for working with your Blocks widget's API from within the widget code. Learn more.
Guides
Additional information about this section
Properties
Store values associated with an object
- props
Sets or gets the widget's properties.
Endpoints
The endpoints exposed by this API
Fires an event that is defined in the Widget API.
Adds an event handler that runs when the value of a widget property is changed.