Hallo, im try to pass some data to lightboxes…
but i need to send multiple var and i can’t do it…
in my case, data passed to lightbox are “ticketdetail” that comes from a dataset.
but i have also other data from other dataset to send it… for example “user detail” or company name, that on page have different var…
ther’s a way to send all them into lightbox?
many thanks
//page code
$w('#showticket').onClick((event3) => {
let ticketdetail = $w('#dataset1').getCurrentItem();
wixWindow.openLightbox("TicketOpen", ticketdetail);
});
//lightbox code
$w.onReady(function () {
let items = wixWindow.lightbox.getContext();
console.log(items);
});