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');
});
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');
});
npm i scrollyfills
1,991
1.0.1
ISC
33.6 kB
13