hoverintent
hoverintent copied to clipboard
:mouse: Fire mouse events when a user intends it
Implement [event delegation](https://developer.mozilla.org/en-US/docs/Web/API/Event/target). **Option 1** ``` js hoverintent(ele [, selector ], handlerIn, handlerOut); ``` **Option 2** ``` js hoverintent(ele, handlerIn, handlerOut).options({ on: 'selector' }); ```
PR to fix that issue https://github.com/tristen/hoverintent/issues/37 That will work only for same-origin iframe of course.
I only added properly in the title as it is working in some cases in Chrome (depends which edge your cursor crossing and also from interval option - higher interval...
Howdy, Sometimes we might want to include an unminified browser-ready version of the script. Is it possible to include one example of it to the dist folder? The `index.js` at...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Hello, When a user clicks or clicks-and-holds on a **hoverintent** element, that should be interpreted as no intention to hover. In the vernacular of your [fantastic] library, the interval should...
Solves https://github.com/tristen/hoverintent/issues/21 -- alternate solve to what #32 is doing. -- This PR adds the option to `reset` the hoverintent usage when `remove` takes places. This optionally fires the `onOut`...
I have this code ``` var _hoverTriggers = document.querySelectorAll('.JS-navigator__trigger--hover'); hoverintent(_hoverTriggers, function() { console.log('in'); }, function() { console.log('out'); } ); ``` And I am receiving this error: ``` Uncaught TypeError: e.addEventListener...
> $('.element').hoverintent(function() { > // Handler in > }, function() { > // Handler out > }); Edit hoverintent -> hoverIntent
I'm currently working on a project where because of an animated event the `onOut` callback doesn't get called. This is problematic because the following `onOver` event never registers. It would...