v3.1.0
New properties have been added to the onEnter
/onLeave
/onPositionChange
callbacks:
waypointTop
- the waypoint's distance to the top of the viewport.viewportTop
- the distance from the scrollable ancestor to the viewport top.viewportBottom
- the distance from the bottom of the scrollable ancestor to the viewport top.