Skip to content

Higher order component on React to detect position in browser

Notifications You must be signed in to change notification settings

rajendrav5/PointCross

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PointCross

Higher order component on React to detect position in browser

Point Cross is a Wrapper component to execute a callback when the page is scrolled basing on position of the wrapped children when they are,

  1. Before Point
  2. In Point
  3. After Point

PointCross intuitively decides when the scroll happens on window or even in a scrollable container. And it also accepts additional offset, ex: I want the callback to be executed when the component is Xpx before from viewport.

About

Higher order component on React to detect position in browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published