Fire mouse events when the user intends it
It's goal is to determine a users intention when hovering over an element by triggering a mouseover event when the cursor position has slowed down enough.
Check out the demo to see how it works in action.
You can adjust mouse sensitivity or the length of time a mouse over/out event is fired:
|The value (in pixels) the mouse cursor should not travel beyond while hoverintent waits to trigger the mouseover event.|
|The length of time hoverintent waits to re-read mouse coordinates.|
|The length of time the mouseout event is fired.|
hoverintent as an internal chain method to your Ender compilation.
$ ender add hoverintent
$'.element'hoverintent// Handler in// Handler out;
to manage dependencies and build. Development requires you have node.js installed.
_____ < MIT > ----- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||