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
In my app I want to pop up a modal with in-depth details by clicking on a row in a table, so I don't need anything additional (like a button) rendered to initialize the modal. The bootstrap-for-ember component could be pulled up in this way, but the documentation is sparse on how to do it with a ember-component modal if you're not using the em-modal-toggler.
The text was updated successfully, but these errors were encountered:
I'm not sure how to make a row clickable, but if you can figure out that much, you can stick the open-if attribute into your modal, then give your rows an action that sets a variable to true.
Here's an example JS bin
The website gives documentation on how to reuse a single modal (for your table rows).
It also explains the open-if.
EDIT: Sorry, I put the wrong JS bin in there. It's updated now.
In my app I want to pop up a modal with in-depth details by clicking on a row in a table, so I don't need anything additional (like a button) rendered to initialize the modal. The bootstrap-for-ember component could be pulled up in this way, but the documentation is sparse on how to do it with a ember-component modal if you're not using the
em-modal-toggler
.The text was updated successfully, but these errors were encountered: