Get current event opened in lightbox

I need to get the event, that is currently opened in lightbox.

I can get an event with scheduler.getEvent(id) but how do I find the id of the event, that is currently opened in lightbox?

1 Like

Hi,
scheduler.getState will do the job: var event_id = scheduler.getState().lightbox_id

1 Like

Yes, I’ve tried. This works. Apologies and thank you!