The APIs in
$w can only be used in front-end code.
You do not need to import
$welements, nodes, and events are described here under Wix Editor Elements. Some
$welements are described in context of their functionality. For example, the
WixFormselement is described under the
wix-crm-frontendnamespace because using the API for the Wix Forms app is most relevant in the context of site contacts and visitors.
Get hands-on experience with the
$w API on our Hello World example page.
Was this helpful?