Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

event on trible click in js

window.addEventListener('click', function (evt) {
    if (evt.detail === 3) {
        alert('triple click!');
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #event #trible #click #js
ADD COMMENT
Topic
Name
1+1 =