You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to load content dynamically into the modal using the "opening" event by reading information from the clicked element? I'm trying to use:
I ended up accomplishing this by creating the modal dynamically from the click event of the source element, but I think passing the clicked element into the opening callback would be a much more elegant solution.
Is it possible to load content dynamically into the modal using the "opening" event by reading information from the clicked element? I'm trying to use:
However
e
doesn't seem to have the element that was clicked.e.target
appears to be the actual modal. Any way to grab the clicked element?If not, what's the best way to pass data into the modal for loading?
The text was updated successfully, but these errors were encountered: