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 - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

10

index.js
/**
* This module unifies handling of mouse whee event accross different browsers
* This module unifies handling of mouse whee event across different browsers
*

@@ -56,2 +56,10 @@ * See https://developer.mozilla.org/en-US/docs/Web/Reference/Events/wheel?redirectlocale=en-US&redirectslug=DOM%2FMozilla_event_reference%2Fwheel

originalEvent.returnValue = false;
},
stopPropagation: function() {
if(originalEvent.stopPropagation)
originalEvent.stopPropagation();
},
stopImmediatePropagation: function() {
if(originalEvent.stopImmediatePropagation)
originalEvent.stopImmediatePropagation();
}

@@ -58,0 +66,0 @@ };

4

package.json
{
"name": "wheel",
"version": "0.0.0",
"version": "0.0.1",
"description": "Mouse wheel event unified for all browsers",

@@ -21,2 +21,2 @@ "main": "index.js",

}
}
}
# wheel
This module unifies handling of mouse whee event accross different browsers.
This module unifies handling of mouse whee event across different browsers.

@@ -5,0 +5,0 @@ See [MDN](https://developer.mozilla.org/en-US/docs/Web/Reference/Events/wheel?redirectlocale=en-US&redirectslug=DOM%2FMozilla_event_reference%2Fwheel)

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