npm i -D scrollyfills
import {scrollend} from 'scrollyfills';
// use the new event as if it's been there the whole time
someElementThatScrolls.addEventListener('scrollend', event => {
console.log('scroll has ended');
});
grab and go polyfill functions for web scroll features
npm i -D scrollyfills
import {scrollend} from 'scrollyfills';
// use the new event as if it's been there the whole time
someElementThatScrolls.addEventListener('scrollend', event => {
console.log('scroll has ended');
});