ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Modal events [doc]

Open panurge-ws opened this issue 12 years ago • 4 comments

$scope.$on('modal.hide'

should be

$scope.$on('modal.hidden'

same for "show" -> "shown"

panurge-ws avatar Jun 10 '14 16:06 panurge-ws

Hey @panurge-ws, good catch. modal.hide was actually already fixed and can be seen in the nightly. Unless I'm not seeing something, modal.hidden is still undocumented. I'll see if there's a reason not to add it.

perrygovier avatar Jun 10 '14 18:06 perrygovier

Ok, I simply noticed that Ionic was firing a "modal.hidden" while the doc example reported "modal.hide", so someone (like me...) can take some minutes understanding why nothing happens.

panurge-ws avatar Jun 10 '14 18:06 panurge-ws

@ajoslin just added modal.shown, thanks.

perrygovier avatar Jun 10 '14 18:06 perrygovier

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.

ionitron-bot[bot] avatar Sep 06 '18 10:09 ionitron-bot[bot]