To use the Window API, import wixWindowFrontend from the wix-window-frontend module:
The APIs in wix-window-frontend can only be used in frontend code.
Learn more about wix-window-frontend in Getting Started and on Wix Learn.
Last updated: 13 January 2026