Action sheet double click

hello, I have a simple action sheet, with 2 buttons.
If action button is double clicked it will fire the onClick: function twice.
Is there a way to disable the second click event when onclick is selected multiple times?

thanks
eric

Hi Eric,

What I usually do: I store the time of the first click ( (new Date()).getTime() ) and ignore all further clicks with the next e.g. 250ms.

Best regards
Andreas

Thank, i was thinking of doing that, but how do i stop the clicks?
e.stopPropagation?