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