Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

event on trible click in js

var clicks = 0

onclick:
clicks++;
setTimer(resetClicksToZero);
if clicks == 3: tripleclickdetected(); clicks = 0;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #event #trible #click #js
ADD COMMENT
Topic
Name
6+6 =