The $w namespace contains all of the UI elements, nodes, and events that make up your site. It also includes the $w(), onReady(), and at() functions.

The APIs in $w can only be used in front-end code.

You do not need to import $w.

Note: Most $w elements, nodes, and events are described here under Wix Editor Elements. Some $w elements are described in context of their functionality. For example, the WixForms element is described under the wix-crm namespace because using the API for the Wix Forms app is most relevant in the context of site contacts and visitors.

Was this helpful?