npm i scrollyfills
import 'scrollyfills';
// use the new event as if it's been there the whole time
someElementThatScrolls.addEventListener('scrollend', event => {
console.log('scroll has ended');
});| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm i scrollyfills
import 'scrollyfills';
// use the new event as if it's been there the whole time
someElementThatScrolls.addEventListener('scrollend', event => {
console.log('scroll has ended');
});