npm.io

Element-in-view Packages

within-view

within-view uses preact/react hook to detect scroll event changes and checking if the wanted element(s) is within view and appending a class to the element if desired.

preactreacthookspreact-hooksreact-hooksscrollscroll-positionscroll-directionscroll-event-listenerdom-listener
1.0.1 • Published 5 years ago

contact@npm.io