https://github.com/argyleink/scrollyfills
grab and go polyfill functions for web scroll features
https://github.com/argyleink/scrollyfills
polyfills scroll
Last synced: about 1 year ago
JSON representation
grab and go polyfill functions for web scroll features
- Host: GitHub
- URL: https://github.com/argyleink/scrollyfills
- Owner: argyleink
- Created: 2022-06-22T17:17:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T18:28:16.000Z (over 1 year ago)
- Last Synced: 2025-04-02T04:06:44.279Z (about 1 year ago)
- Topics: polyfills, scroll
- Language: JavaScript
- Homepage:
- Size: 134 KB
- Stars: 113
- Watchers: 9
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ScrollyFills
#### Various importable functions to assist in polyfilling specced scroll features
## Polyfills
### `scrollend`
`npm i scrollyfills`
```js
import 'scrollyfills';
// use the new event as if it's been there the whole time
someElementThatScrolls.addEventListener('scrollend', event => {
console.log('scroll has ended');
});
```