This commit is contained in:
2025-09-19 14:25:20 +08:00
parent 269893a435
commit fbf3f77229
24949 changed files with 2839404 additions and 0 deletions

23
node_modules/normalize-wheel-es/README.md generated vendored Normal file
View File

@@ -0,0 +1,23 @@
# Normalize Wheel
Mouse wheel normalization across multiple multiple browsers.
## Original source
This code is extracted and from Facebook's [Fixed Data Table](https://github.com/facebook/fixed-data-table). Apart from import fixes, the code is unmodified.
## Usage
Just add it as an dependency in npm.
You can use it as follows:
```js
import normalizeWheel from 'normalize-wheel-es';
document.addEventListener('mousewheel', function (event) {
const normalized = normalizeWheel(event);
console.log(normalized.pixelX, normalized.pixelY);
});
```
## License
See the `LICENSE` file.