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,561
1.0.3
ISC
35.2 kB
13