I've searched a lot in the forum and over internet, but I didn't found any documentation about it.
About passing data from one page to the lightbox and vice versa there are a lot, but you always need to know the name of the lightbox.
Well, I need to be able to capture the name of the light box.
I don't know if it's applicable, i'm new working with code, but I tried something like that:
import wixWindow from 'wix-window';
"let unknownLightboxName= wixWindow.openLightbox.name"
No errors found neither syntax nor execution, but in any case it didn't work.
Any help would be appreciated.
Thanks for your help.