Check when HTML elements are inside the viewport with IntersectionObserver (to keep test off main thread). You can either add classes for various states or provide your own JS callback function
-
Notifications
You must be signed in to change notification settings - Fork 0
Check when HTML elements are inside the viewport with IntersectionObserver
License
shakyjake/InView-JS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Check when HTML elements are inside the viewport with IntersectionObserver
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published