Closed viliusle closed 3 years ago
Events does not have any data, only name, it means you don't know from which element event was fired.
p.s. there is a way to pass data to events (as string). I can push PR to include lightbox media type or even target ID in event.
Basically I could not find a way to get events only from specific link. let me know if I missed something.
Noone requested it yes. So you're first.
Feel free to open a PR :)
Events does not have any data, only name, it means you don't know from which element event was fired.
p.s. there is a way to pass data to events (as string). I can push PR to include lightbox media type or even target ID in event.
Basically I could not find a way to get events only from specific link. let me know if I missed something.