I am trying to click on a photo element, and launch a modal that contains a bigger version of that photo, but I can't figure out how to pass the necessary data from one to the other.
Am I supposed to populate a variable as part of my event, and then retrieve that value on the other side?
Is there a hidden way to pass an object from one control to another that I'm not aware of?
I've been relying on using the table.selectedRow of the element I clicked on, but this falls apart in Collections and other controls that don't have selected elements.
Any guidance here would be awesome. This feels like a very solved problem, but I can't figure out what the recommended path is.