import wixWindow from 'wix-window'; let popup = wixWindow.lightbox; $w.onReady(function () { setTimeout(function(){ popup.close(); }, 6000); });
top of page
bottom of page