Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wheel

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wheel

Mouse wheel event unified for all browsers

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
63K
increased by5.53%
Maintainers
1
Weekly downloads
 
Created
Source

wheel Build Status

This module unifies handling of mouse whee event across different browsers.

See MDN for more details.

Usage

var addWheelListener = require('wheel').addWheelListener;
var removeWheelListener = require('wheel').removeWheelListener;
addWheelListener(domElement, function (e) {
	// mouse wheel event
});
removeWheelListener(domElement, function);

You can also use a shortcut for addWheelListener:

var addWheelListener = require('wheel');
addWheelListener(domElement, function (e) {
	// mouse wheel event
});

install

With npm do:

npm install wheel

license

MIT

Keywords

FAQs

Package last updated on 07 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc