jeudi 2 juillet 2015

How to make multiple modals using ember.js addon liquid-fire

I am using liquid-fire to handle my ember application's animation and there is a special use case I trying to tackle with:

Some modals require users to confirm their operation. For example, there is a modal display a list of users and when you want to delete a user, it will pop-out a message and ask you "are you sure you want to delete the user?" This requires one modal to lay on top of the other.

However, in liquid-fire's documentation, it says "Insert the {{liquid-modal}} component in your application.hbs template. You only need to do this once — it will manage all the modals in your application. It doesn't take any arguments." and all modal is rendered into that outlet.

I wonder if there is any possible walkaround for it or any hidden API available? Any thought and ideas are welcome!

Thanks in advance!




Aucun commentaire:

Enregistrer un commentaire