Introduction

Note: The terms popup and lightbox refer to the same element. While the editor and dashboard now refer to it as a popup, the API methods continue to use the term lightbox for backward compatibility. The documentation uses both terms accordingly.

To learn more about popups, see the Hello Popups example page.

To use the Lightbox API, import wixWindowFrontend from the wix-window-frontend module:

Copy

The APIs in wix-window-frontend.Lightbox can only be used in frontend code.

Did this help?