probaclick

Do something when someone is probably going to click something.

MIT License

Downloads
93
Stars
78
Committers
2
probaclick - Update Deps, Drop IE Support, Add .remove() Method Latest Release

Published by alexmacarthur over 3 years ago

This release:

  • Updates several outdated dependencies to the latest versions.
  • Switches from Rollup to Microbundle (and in the process, drops support for Internet Explorer + other legacy browsers).
  • Adds a .remove() method for imperatively removing registered event listeners on an instance. Ex:
const instance = ProbaClick("button", {
   // options
});

// Removes all event listeners.
instance.remove();
probaclick - Fix Return Statement

Published by alexmacarthur almost 6 years ago

This release fixes a bug causing an incorrect return behavior in one of the methods.

probaclick - Add Ability to Fire on Total Hover Count

Published by alexmacarthur almost 6 years ago

This release adds the ability to fire the callback based on the total hover count, rather than just the total hover duration.

probaclick - Initial Release

Published by alexmacarthur about 6 years ago

Package Rankings
Top 9.59% on Npmjs.org
Badges
Extracted from project README
Bundle Size