civiccc / civiccc/react-waypoint
Detect current position
Open
- Dominant language
- JavaScript
- Stars
- 4k
- Forks
- 206
- PR merge metrics
- No merged PRs in 30d
Description
Methods `onEnter`, `onLeave` and `onPositionChange` receive an object with data that contains current position. But what do I need to do when I want to get current position? For example, I refresh page and want to know current waypoint position. How about to add `onInitialize` event handler?
Contributor guide
Assessment
This issue has not been assessed yet.