lepikevents
Advanced tools
Comparing version 1.5.13 to 1.5.14
{ | ||
"name": "lepikevents", | ||
"version": "1.5.13", | ||
"version": "1.5.14", | ||
"description": "Global mouse and keyboard events Listener", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -41,2 +41,7 @@ # Lepik Events | ||
}); | ||
lepikEvents.events.on('mouseMove', (data) => { | ||
// Returns array containing mouse x, y and time (seconds) | ||
console.log(data); // [20, -35, 1663787912.698] | ||
}); | ||
``` | ||
@@ -46,3 +51,3 @@ | ||
Curently there are 4 events in total, **mouseClick**, **mouseDoubleClick**, **keyPress** and **keyRelease**. | ||
Curently there are 5 events in total, **mouseMove**, **mouseClick**, **mouseDoubleClick**, **keyPress** and **keyRelease**. | ||
@@ -49,0 +54,0 @@ ## Requirements |
8582616
100
124
62
2
5
2