lepikevents
Advanced tools
Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "lepikevents", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Global mouse and keyboard events Listener", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -36,2 +36,8 @@ # Lepik Events | ||
}); | ||
lepikEvents.events.on('mouseDoubleClick', (data) => { | ||
// Returns array containing mouse position x, y and button double-clicked | ||
console.log(data); // [361, 235, *1] | ||
// *1 for left, 2 for right, 3 for middle | ||
}); | ||
``` | ||
@@ -38,0 +44,0 @@ |
8098839
60