Get hands-on experience with Lightboxes on our Hello Lightboxes example page.
To use the Lightbox API, import wixWindowFrontend
from the wix-window-frontend
module:
The APIs in wix-window-frontend.Lightbox
can only be used in front-end code.