2 repository-uri
Callbacks that fire specifically when elements enter or leave the visible viewport area.
Distinct from Scroll Lifecycle Callbacks: Unlike general scroll lifecycle callbacks, these trigger specifically on viewport entry and exit thresholds.
Explore 2 awesome GitHub repositories matching user interface & experience · Viewport Intersection Callbacks. Refine with filters or upvote what's useful.
ScrollTrigger is a JavaScript library and DOM scroll event manager designed to execute callbacks and toggle CSS classes when elements enter or exit the browser viewport. It functions as a high-level interface for the Intersection Observer API and a system for initiating visual transitions and asynchronous tasks based on an element's position relative to the viewport. The tool allows for the definition of precise trigger points using pixel or percentage offsets to control exactly when events fire. It manages scroll-driven visual animations and lazy loading implementations by tracking visibilit
Runs custom functions or promises when elements enter, leave, or remain visible within the browser viewport.
BasicScroll is a standalone scroll-driven animation library that updates CSS custom properties, element styles, and CSS properties dynamically based on absolute or relative viewport scroll positions. It functions as an animation engine designed to build custom parallax scrolling experiences and fluid visual effects on both mobile and desktop viewports. The library supports custom scroll range definitions anchored directly to specific document elements, alongside callback executions that trigger user-defined functions with live progress data and state percentages as the viewport enters or leav
Triggers user-defined functions with live progress percentages as the viewport crosses boundaries.