Introduction
To use the window module, import wixWindowFrontend
from the wix-window-frontend
module:
javascript | Copy Codeimport wixWindowFrontend from 'wix-window-frontend';
The APIs in wix-window-frontend
can only be used in front-end code.
Learn more about wix-window-frontend in Getting Started and on Wix Learn.
Was this helpful?