@tinychange/is-bottom
v1.0.0
Published
- Trigger callback when scroll reaches the bottom
Downloads
3
Readme
Overview
- Trigger callback when scroll reaches the bottom
How to use?
const removeEvent = isBottom({
cb: () => console.log('reached Bottom'),
threshold: 200,
})
// call removeEvent to stop
removeEvent()