Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
In 2014 this module was supposed to unify handling of mouse whee event across different browsers.
Now it's just a wrapper on top of element.addEventListener('wheel', callback)
;
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
});
With npm do:
npm install wheel
MIT
FAQs
Mouse wheel event unified for all browsers
We found that wheel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.