Get unlimited public & private packages + team-based management with npm Teams.Learn more »

jquery-hoverintent

1.10.1 • Public • Published

hoverIntent jQuery Plug-in

hoverIntent is a plug-in that attempts to determine the user's intent... like a crystal ball, only with mouse movement! It is similar to jQuery's hover method. However, instead of calling the handlerIn function immediately, hoverIntent waits until the user's mouse slows down enough before making the call.

Why? To delay or prevent the accidental firing of animations or ajax calls. Simple timeouts work for small areas, but if your target area is large it may execute regardless of intent. That's where hoverIntent comes in...

For more information, visit briancherne.github.io/jquery-hoverIntent.

Install

npm i jquery-hoverintent

DownloadsWeekly Downloads

3,375

Version

1.10.1

License

MIT

Unpacked Size

26.6 kB

Total Files

6

Last publish

Collaborators

  • avatar