A JavaScript library for handling mouse hovers on a delay, when the user intends to hover the element.
npm install sv-hover-intentSV-HoverIntent
=================================================
sv-hover-intent-js is a JavaScript plugin for handling mouse hovers on a delay. It tracks when the mouse movement has slowed enough that it's likely the user intended to activate that element.
It's useful for things like dropdown menus, to avoid them popping out if you happen to move past them (for example, when closing the browser tab). See demo/example.html for an example. This is essentially a vanilla JavaScript port of the excellent jQuery-hoverIntent plugin by Brian Cherne, though it has been rewritten from the ground up.
SV-HoverIntent can be installed via npm:
``sh`
npm install sv-hover-intent
Then use the file node_modules/sv-hover-intent/src/sv-hover-intent.js in your project - either directly in a