Pausable event fires when resume


#1

I have a pausable change event on a textbox. I’m using pause to suspend the event and set a new value but when I call the resume function the event fires. How can I suppress the event?


#2

We would need to see an example of what you are trying to give a reasonable answer, as it should not be firing an event when calling resume unless your resume function is somehow triggering an event.


#3

Check this sample code [https://jsfiddle.net/ioannisch/nxv5pzmf/2/]


#4

Sorry this has taken a while, the example is somewhat confusing with regards to the intent. I sort of think this is working as intended, so you may want to add an event cancelation method inside your resume call?


#5

I may confuse what actualy pause and resume is intended for. I expect it to cancel any events after calling pause mehtod