Modal Promises
I think it would be super useful to have the .show() and .hide() methods for modals (and other related views) return a promise, which would be resolved when the modal (or other view) finished showing or hiding. I have some modals with dynamic content that is currently being loaded as the modal is shown, which can cause hiccups in the .show() animation. It would be cool if we could do something like this:
myModal.show().then( function(){ //do stuff that you only want to happen when you know the modal has finished animating });
or:
myModal.hide().then( function(){ //dispose of some stuff the modal was using });
Added via 393850086fbff30f5f04026e70f8143c9c21f06f
Thanks @ajoslin.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.