To learn more about lightboxes, see the Hello Lightboxes example page.
To use the Lightbox API, import wixWindowFrontend
from the wix-window-frontend
module:
import wixWindowFrontend from "wix-window-frontend";
The APIs in wix-window-frontend.Lightbox
can only be used in frontend code.