Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Change toggle button state after question

$
0
0

@raian_antunes wrote:

Hi good people,

I'm having trouble just trying to do a behavior. I have a toggle button with a ng-click event. When clicked, i use a $ionic Popup with a warning message about what will happen if he change that state. The problem is: if I choose OK or CANCEL, the toggle has already changed his state anyway. There are any way that I cancel the event of change if he press CANCEL and only apply animation if I choose OK ? :confused:

Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>