{"_id":"hoverintent","_rev":"409102","name":"hoverintent","description":"Fire mouse events when the user intends it","dist-tags":{"latest":"2.2.1"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"time":{"modified":"2021-08-04T05:01:19.000Z","created":"2013-01-06T20:00:16.176Z","2.2.1":"2019-08-15T16:19:43.971Z","2.2.0":"2018-10-28T22:32:56.203Z","2.1.0":"2018-07-26T21:11:04.239Z","2.0.0":"2017-07-27T17:23:46.172Z","1.0.3":"2016-09-12T22:16:21.574Z","1.0.2":"2016-04-12T23:35:12.467Z","1.0.1":"2016-01-04T23:06:34.242Z","1.0.0":"2016-01-04T15:21:38.501Z","0.2.2":"2014-06-17T17:31:15.353Z","0.2.1":"2013-11-22T18:19:17.235Z","0.2.0":"2013-05-21T02:24:30.411Z","0.1.0":"2013-01-24T03:34:16.565Z","0.0.1":"2013-01-06T20:00:16.176Z"},"users":{"vasil.gerginski":true},"author":{"name":"tristen"},"repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"versions":{"2.2.1":{"name":"hoverintent","version":"2.2.1","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"babel index.js | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-plugin-transform-object-assign":"^6.22.0","uglify-js":"^2.6.1"},"gitHead":"02adbc0e782feb709db592632ec14fbe30622346","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@2.2.1","_nodeVersion":"10.13.0","_npmVersion":"6.10.2","dist":{"shasum":"18d7f837adfc20501b4a1faca704d761e9017d18","size":4072,"noattachment":false,"key":"/hoverintent/-/hoverintent-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-2.2.1.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoverintent_2.2.1_1565885983860_0.8611567137350216"},"_hasShrinkwrap":false,"publish_time":1565885983971,"_cnpm_publish_time":1565885983971},"2.2.0":{"name":"hoverintent","version":"2.2.0","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"babel index.js | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-plugin-transform-object-assign":"^6.22.0","uglify-js":"^2.6.1"},"gitHead":"e949ccd8be014315010929ec36fa13e62083e781","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@2.2.0","_npmVersion":"6.1.0","_nodeVersion":"6.14.2","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"dist":{"shasum":"86414f1090e48bdd16d3ae8ee0464a750e89c351","size":6015,"noattachment":false,"key":"/hoverintent/-/hoverintent-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-2.2.0.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoverintent_2.2.0_1540765976069_0.12721063553353273"},"_hasShrinkwrap":false,"publish_time":1540765976203,"_cnpm_publish_time":1540765976203},"2.1.0":{"name":"hoverintent","version":"2.1.0","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"babel index.js | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-plugin-transform-object-assign":"^6.22.0","uglify-js":"^2.6.1"},"gitHead":"851c869321c93783585bca0fb2c268a10f736e78","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@2.1.0","_npmVersion":"6.1.0","_nodeVersion":"6.14.2","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"dist":{"shasum":"0df1b08aa711d8905e2ec72dca78523d2941d700","size":5594,"noattachment":false,"key":"/hoverintent/-/hoverintent-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-2.1.0.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoverintent_2.1.0_1532639464136_0.6555648466727426"},"_hasShrinkwrap":false,"publish_time":1532639464239,"_cnpm_publish_time":1532639464239},"2.0.0":{"name":"hoverintent","version":"2.0.0","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"browserify index.js -s hoverintent | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"browserify":"^12.0.1","uglify-js":"^2.6.1"},"dependencies":{"xtend":"^4.0.1"},"gitHead":"d605ca94b90ff42a1281eb5bee178c8b6fb2321d","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@2.0.0","_npmVersion":"5.3.0","_nodeVersion":"6.11.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"7e3c231dee8387d4f37c5bafeb9aa3e5523805cc","size":5821,"noattachment":false,"key":"/hoverintent/-/hoverintent-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-2.0.0.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hoverintent-2.0.0.tgz_1501176226006_0.019098712597042322"},"directories":{},"publish_time":1501176226172,"_cnpm_publish_time":1501176226172,"_hasShrinkwrap":false},"1.0.3":{"name":"hoverintent","version":"1.0.3","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"browserify index.js -s hoverintent | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"browserify":"^12.0.1","uglify-js":"^2.6.1"},"dependencies":{"xtend":"^4.0.1"},"gitHead":"968443252a689a8ee29c772e82874d210dc02931","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@1.0.3","_shasum":"96da5b1e88d30b522df11346747d16e4f3a7367a","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"dist":{"shasum":"96da5b1e88d30b522df11346747d16e4f3a7367a","size":6021,"noattachment":false,"key":"/hoverintent/-/hoverintent-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-1.0.3.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hoverintent-1.0.3.tgz_1473718578659_0.8942864020355046"},"directories":{},"publish_time":1473718581574,"_cnpm_publish_time":1473718581574,"_hasShrinkwrap":false},"1.0.2":{"name":"hoverintent","version":"1.0.2","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"browserify index.js -s hoverintent | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"browserify":"^12.0.1","uglify-js":"^2.6.1"},"dependencies":{"xtend":"^4.0.1"},"gitHead":"0150734d08c5a7a744158f2c273296cfec78bb2c","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@1.0.2","_shasum":"ed8ae8938ee95d2aeb9f8953be34819187db74ef","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"dist":{"shasum":"ed8ae8938ee95d2aeb9f8953be34819187db74ef","size":6079,"noattachment":false,"key":"/hoverintent/-/hoverintent-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-1.0.2.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hoverintent-1.0.2.tgz_1460504110979_0.1666226638481021"},"directories":{},"publish_time":1460504112467,"_cnpm_publish_time":1460504112467,"_hasShrinkwrap":false},"1.0.1":{"name":"hoverintent","version":"1.0.1","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"browserify index.js -s hoverintent | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"browserify":"^12.0.1","uglify-js":"^2.6.1"},"dependencies":{"xtend":"^4.0.1"},"gitHead":"1667cc17e9a83c06fa9af5adc854c85eae51f100","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@1.0.1","_shasum":"682e55d207e83e28d2f85138b29865d063dfb4b5","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"dist":{"shasum":"682e55d207e83e28d2f85138b29865d063dfb4b5","size":6006,"noattachment":false,"key":"/hoverintent/-/hoverintent-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-1.0.1.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"publish_time":1451948794242,"_cnpm_publish_time":1451948794242,"_hasShrinkwrap":false},"1.0.0":{"name":"hoverintent","version":"1.0.0","repository":{"type":"git","url":"git+ssh://git@github.com/tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","main":"index.js","scripts":{"build":"browserify index.js -s hoverintent | uglifyjs -mc > dist/hoverintent.min.js"},"author":{"name":"tristen"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"browserify":"^12.0.1","uglify-js":"^2.6.1"},"dependencies":{"xtend":"^4.0.1"},"gitHead":"c9e3be2c921e5c677df4228948e5e0c7590b5a3b","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@1.0.0","_shasum":"9f9d66d0f36648737290961f0dcff886fa7f983f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"dist":{"shasum":"9f9d66d0f36648737290961f0dcff886fa7f983f","size":6032,"noattachment":false,"key":"/hoverintent/-/hoverintent-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-1.0.0.tgz"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"publish_time":1451920898501,"_cnpm_publish_time":1451920898501,"_hasShrinkwrap":false},"0.2.2":{"name":"hoverintent","repository":{"type":"git","url":"git@github.com:tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","version":"0.2.2","author":{"name":"tristen","email":"@fallsemo"},"ender":"./ender.js","main":"dist/hoverintent.min.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"uglify-js":"~2.2.5"},"bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@0.2.2","dist":{"shasum":"cb1b44e710d69c359c6c439c91a4f9709c2a4437","size":5138,"noattachment":false,"key":"/hoverintent/-/hoverintent-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-0.2.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"publish_time":1403026275353,"_cnpm_publish_time":1403026275353,"_hasShrinkwrap":false},"0.2.1":{"name":"hoverintent","repository":{"type":"git","url":"git@github.com:tristen/hoverintent.git"},"description":"Fire mouse events when the user intends it","version":"0.2.1","author":{"name":"tristen","email":"@fallsemo"},"ender":"./ender.js","main":"dist/hoverintent.min.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"uglify-js":"~2.2.5"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/tristen/hoverintent/issues"},"_id":"hoverintent@0.2.1","dist":{"shasum":"3e9737b37a9bfc6cc39cd694f81445431453b199","size":22747,"noattachment":false,"key":"/hoverintent/-/hoverintent-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-0.2.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"publish_time":1385144357235,"_cnpm_publish_time":1385144357235,"_hasShrinkwrap":false},"0.2.0":{"name":"hoverintent","description":"Fire mouse events when the user intends it","version":"0.2.0","author":{"name":"tristen","email":"@fallsemo"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"uglify-js":"~2.2.5"},"readmeFilename":"README.md","_id":"hoverintent@0.2.0","dist":{"shasum":"794b8a05be2f50c1be663f83efceb1089a8e3a7b","size":22976,"noattachment":false,"key":"/hoverintent/-/hoverintent-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-0.2.0.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"publish_time":1369103070411,"_cnpm_publish_time":1369103070411,"_hasShrinkwrap":false},"0.1.0":{"name":"hoverintent","description":"Fire mouse events when the user intends it","version":"0.1.0","author":{"name":"tristen","email":"@fallsemo"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"grunt":"0.3.x"},"readmeFilename":"README.md","_id":"hoverintent@0.1.0","dist":{"shasum":"60488d00cfda9af796c5f6328ca332ce88d01fe5","size":23184,"noattachment":false,"key":"/hoverintent/-/hoverintent-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-0.1.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"publish_time":1358998456565,"_cnpm_publish_time":1358998456565,"_hasShrinkwrap":false},"0.0.1":{"name":"hoverintent","description":"Fire mouse events when the user intends it","version":"0.0.1","author":{"name":"tristen","email":"@fallsemo"},"ender":"./ender.js","homepage":"http://tristen.ca/hoverintent","licenses":[{"type":"MIT"}],"devDependencies":{"grunt":"0.3.x"},"readmeFilename":"README.md","_id":"hoverintent@0.0.1","dist":{"shasum":"60f1d54edfbe336edfc30501e706430287de02e8","size":6456,"noattachment":false,"key":"/hoverintent/-/hoverintent-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hoverintent/download/hoverintent-0.0.1.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"tristen","email":"tristen.brown@gmail.com"},"maintainers":[{"name":"tristen","email":"tristen.brown@gmail.com"}],"directories":{},"publish_time":1357502416176,"_cnpm_publish_time":1357502416176,"_hasShrinkwrap":false}},"readme":"hoverintent\n---\n\nhoverintent is a reworking of Brian Cherne's [jQuery plugin](http://cherne.net/brian/resources/jquery.hoverIntent.html)\nin plain javascript. It has no dependencies.\n\nIt's goal is to determine a user's intention when hovering over an element by triggering a mouseover event when the cursor position\nhas slowed down enough.\n\n[Check out the demo](http://tristen.ca/hoverintent) to see how it works in action.\n\n### Browser Support\n\n| <img src=\"http://i.imgur.com/dJC1GUv.png\" width=\"48px\" height=\"48px\" alt=\"Chrome logo\"> | <img src=\"http://i.imgur.com/o1m5RcQ.png\" width=\"48px\" height=\"48px\" alt=\"Firefox logo\"> | <img src=\"http://i.imgur.com/8h3iz5H.png\" width=\"48px\" height=\"48px\" alt=\"Internet Explorer logo\"> | <img src=\"http://i.imgur.com/iQV4nmJ.png\" width=\"48px\" height=\"48px\" alt=\"Opera logo\"> | <img src=\"http://i.imgur.com/j3tgNKJ.png\" width=\"48px\" height=\"48px\" alt=\"Safari logo\"> |\n|:---:|:---:|:---:|:---:|:---:|\n| All ✔ | All ✔ | 9+ ✔ | 7+ ✔ | All ✔ |\n\n### Basic usage\n\n#### Adding hoverintent to an element\n\n``` html\n<script src='hoverintent.min.js'></script>\n<script>\n  var el = document.getElementById('element-id');\n  hoverintent(el,\n  function() {\n    // Handler in\n  }, function() {\n    // Handler out\n  });\n</script>\n```\n\n#### Removing hoverintent from an element\n\n``` html\n<script src='hoverintent.min.js'></script>\n<script>\n  var el = document.getElementById('element-id');\n\n  // Save a reference to the method\n  var hoverListener = hoverintent(el,\n  function() {\n    // Handler in\n  }, function() {\n    // Handler out\n  });\n\n  // Remove hoverintent listeners\n  hoverListener.remove();\n</script>\n```\n\n### Custom options\nYou can adjust mouse sensitivity or the length of time a mouse over/out event is fired:\n\n``` html\n<script src='hoverintent.min.js'></script>\n<script>\n  var opts = {\n    timeout: 500,\n    interval: 50\n  };\n\n  var el = document.getElementById('element-id');\n  hoverintent(el,\n  function() {\n    // Handler in\n  }, function() {\n    // Handler out\n  }).options(opts);\n</script>\n```\n\n| Setting | Default Value | Description |\n| ---- | ---- | ---- |\n| sensitivity | <pre>sensitivity: 7</pre> | The value (in pixels) the mouse cursor should not travel beyond while hoverintent waits to trigger the mouseover event. |\n| interval | <pre>interval: 100</pre> | The length of time (in milliseconds) hoverintent waits to re-read mouse coordinates. |\n| timeout | <pre>timeout: 0</pre> | The length of time (in milliseconds) before the `mouseout` event is fired. |\n| handleFocus | <pre>timeout: false</pre> | Adds onOver/onOut callbacks to keyboard navigation during blur and focus events |\n\n### Ender support\nAdd `hoverintent` as an internal chain method to your [Ender](https://github.com/ender-js/Ender) compilation.\n\n``` js\n// ender add hoverintent\n\n$('.element').hoverintent(function() {\n    // Handler in\n}, function() {\n    // Handler out\n});\n```\n\n### Building\n\nto manage dependencies and build. Development requires you\nhave [node.js](http://nodejs.org) installed.\n\n1. [Install node.js](http://nodejs.org/). 'Install' will download a package for\nyour OS.\n3. Run `npm install`\n4. Run `npm run build`\n\n### Licence\n\n     _____\n    < MIT >\n     -----\n            \\   ^__^\n             \\  (oo)\\_______\n                (__)\\       )\\/\\\n                    ||----w |\n                    ||     ||\n\n### Bugs?\n\n[Create an issue](https://github.com/tristen/hoverintent/issues)\n","_attachments":{},"homepage":"http://tristen.ca/hoverintent","bugs":{"url":"https://github.com/tristen/hoverintent/issues"}}