AnsweredAssumed Answered

What are the values that I can expect from evt.type when handling an event?

Question asked by Skillz846 on Dec 8, 2015
Latest reply on Dec 9, 2015 by rscheitlin

I have a single click listener and a double click listener. I want to differentiate the different types between a single click and a double click so that I can guarantee that a piece of code doesn't execute during the wrong event and fail. Please let me know. So far the difference between the two that I have is evt.type = "click" and evt.type = "MSPointerUp"<-- What I receive during a double click event. Being that this type seems to be Microsoft specific, I would like to know the other types that are out there for the different browsers for the double click event type. If there is a universal type that I can check for please let me know. Your help would be greatly appreciated on this.

 

Thanks!!!

Outcomes