Ionic, fire event before segment changed


#1

I use segments of ionic.
Sometime I need to catch the change-segemnt, and alert to user confirmation-message. Should be becouse he didn’t save changes. And then leave at the page.
For the confirmation logic I need the last view to not be removed before I confirm, becouse I need to use its functions.
Is there any way to fire event before segment change?


#2

why no one of ionic team takes care of this issues?
For me currently i have to workaround by using “settimeout” for ionchange


#3

Did you create an issue on Github for this feature request? Otherwise “ionic team” doesn’t know about it…