We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7a50c commit 95fc446Copy full SHA for 95fc446
README.md
@@ -0,0 +1,18 @@
1
+# Double Click Event Listener for JavaScript
2
+Adds an Event Listener that listens for both ```click``` and ```double click```.
3
+
4
+## How to use
5
+Add `double-click.js` file to your project and link it on html file.
6
7
+## Instructions
8
+### ```addDoubleClickListener``` has four Arguments:
9
10
+```element``` : html element that you want to add evnet listener to.
11
12
+```onClick``` : a function that executes when user clicks ONCE.
13
14
+```onDoubleClick``` : a function that executes when user clicks TWICE.
15
16
+```doubleClickDelay_MS``` : the delay between clicks that when user clicks again on that duration, system takes that as Double Click.
17
18
+Check out the `example.js`
0 commit comments