civiccc / civiccc/react-waypoint

Detect current position

Open
#164 8 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.