25 रिपॉजिटरी
Detecting scroll events within specific elements instead of the global document for targeted infinite scrolling.
Distinct from Scroll Containers: Distinct from Scroll Containers by focusing on the detection of triggers for data fetching rather than the container's styling.
Explore 25 awesome GitHub repositories matching user interface & experience · Custom Scroll Triggers. Refine with filters or upvote what's useful.
This project is a vanilla JavaScript library and web performance optimizer designed to defer the loading of images, videos, and iframes until they enter the browser viewport. It acts as an intersection observer wrapper and adaptive media loader to reduce initial page load times and save bandwidth. The library distinguishes itself by supporting responsive images via srcset and picture tags, as well as CSS background images and animated SVGs. It integrates with native browser loading attributes where available while providing custom fallbacks for unsupported environments. It can also trigger th
Detects visibility triggers within specific scrolling containers instead of only the global browser window.
Inertia is a server-driven frontend framework designed to create monolithic single page applications. It acts as a state synchronization protocol and client-side routing bridge, allowing developers to build interactive experiences using modern JavaScript component libraries while keeping routing and controllers on the server. This approach eliminates the need for a separate REST or GraphQL API layer by passing data from server controllers to frontend components as props via JSON payloads. The framework distinguishes itself by utilizing adapter-based integration to link various backend environ
Detects scroll triggers within a specific element instead of the main document to enable nested infinite scrolling.
Infinite Scroll is a JavaScript library that automatically loads and appends the next page of content when a user scrolls near the bottom of a container, or optionally when they click a button. It provides scroll-based pagination that fetches and inserts subsequent pages of content, with URL-driven content loading that determines next page URLs from selectors, templates, or custom functions. The library integrates with browser history, updating the URL and history state as new pages load while preserving scroll position so each page state is bookmarkable and refreshable. It is compatible with
Automatically fetches and appends the next page of content when the user scrolls near the bottom of a container.
elevator.js is a lightweight JavaScript library that adds a playful, elevator-themed scroll-to-top button to a webpage. When clicked, it smoothly animates the page back to the top while playing a looping elevator music track in the background, masking the transition and adding a whimsical touch to the user experience. The library goes beyond a simple scroll-to-top button by offering configurable scroll duration, the ability to scroll to any specified DOM element with optional vertical padding, and callback hooks that fire user-defined functions at the start and end of the animation. This allo
Provides callback hooks that fire at the start and end of scroll animations for custom integration.
React Virtuoso is a React component library for rendering large datasets efficiently through virtualized lists, grids, tables, and chat interfaces. It automatically measures variable-height items at runtime, computes accurate scroll offsets without requiring fixed sizes, and renders only the items within the visible viewport plus a configurable buffer zone. The library manages scroll position through a state machine that tracks direction, position, and anchor items to handle auto-scroll, sticky headers, and bidirectional loading. The library distinguishes itself with specialized components fo
Triggers loading of additional content when the user scrolls to the end of the list.
Scrollama is a JavaScript library for scroll-driven storytelling that uses the browser's native IntersectionObserver API to trigger step-based callbacks and animations as the user scrolls through a page. It pins graphic elements using CSS sticky positioning while scrolling through associated text steps, enabling side-by-side narrative experiences without JavaScript-driven layout calculations. The library provides a configurable offset threshold system that accepts a single global offset or per-element data-attribute offsets to define the viewport position that triggers step events. It reports
Fires enter and exit callbacks when step elements cross configurable viewport thresholds.
यह प्रोजेक्ट एक React लेज़ी लोडिंग कंपोनेंट है जिसे चाइल्ड एलिमेंट्स के ब्राउज़र व्यूपोर्ट में आने तक उनकी रेंडरिंग को स्थगित करके फ्रंटएंड परफॉरमेंस को बेहतर बनाने के लिए डिज़ाइन किया गया है। यह एक रिसोर्स लाइफसाइकिल मैनेजर और विजिबिलिटी ट्रिगर के रूप में काम करता है, जो ऑफ-स्क्रीन कंपोनेंट्स के अनावश्यक माउंट्स को रोककर शुरुआती पेज लोड टाइम्स और मेमोरी उपयोग को कम करता है। यह लाइब्रेरी विजिबिलिटी ट्रिगर्स के लिए कॉन्फ़िगरेशन प्रदान करती है, जिससे यह निर्धारित किया जा सकता है कि कंपोनेंट कब लोड होगा। यह कंपोनेंट लाइफसाइकिल को मैनेज करने के लिए मैकेनिज्म शामिल करती है, जिससे यह चुनने की सुविधा मिलती है कि क्या कोई कंपोनेंट दिखाई देने के बाद लोड रहेगा या व्यूपोर्ट छोड़ने पर अनमाउंट हो जाएगा।
Allows developers to configure load triggers using custom offsets, specific scroll containers, and resize event responses.
यह JavaScript स्मूथ स्क्रॉलिंग लाइब्रेरी एक फ्रंटएंड यूटिलिटी और व्यूपोर्ट मोशन कंट्रोलर है जिसे एंकर लिंक्स के लिए ट्रांज़िशन को एनिमेट करने के लिए डिज़ाइन किया गया है। यह टारगेट एलिमेंट्स की ओर तरल गति के साथ इंस्टेंट जंप्स को बदलने के लिए स्टैंडर्ड लिंक क्लिक्स को इंटरसेप्ट करती है। यह लाइब्रेरी त्वरण और मंदी को प्रबंधित करने के लिए कॉन्फ़िगर करने योग्य मोशन ईज़िंग पैटर्न और स्पीड कंट्रोल्स प्रदान करती है। इसमें सक्रिय एनिमेशन को तुरंत रद्द करने का एक तंत्र शामिल है और यह सीधे फंक्शन कॉल्स के माध्यम से प्रोग्रामेटिक स्क्रॉल ट्रिगरिंग का समर्थन करती है। यह टूल टारगेट कंटेंट को फिक्स्ड हेडर्स के पीछे छिपने से रोकने के लिए पोजिशनिंग ऑफसेट्स को संभालता है और ट्रांज़िशन के दौरान ब्राउज़र एड्रेस बार को सिंक्रोनाइज़ करता है। इसमें एक इवेंट-संचालित कॉलबैक सिस्टम भी है जो स्क्रॉलिंग एनिमेशन शुरू होने, समाप्त होने या बाधित होने पर साइड इफेक्ट्स को ट्रिगर करता है।
Provides user-defined callbacks that execute at the start and end of smooth scrolling animations.
XRecyclerView is an Android list component and extension library that adds pull-to-refresh and infinite scrolling behaviors to a standard RecyclerView. It serves as a scrollable mobile UI element designed to manage data-driven lists with support for dynamic headers and footers. The library provides a gesture-based interface for triggering content reloading via a pull-to-refresh widget and implements a mechanism for triggering data fetch callbacks when a user reaches the bottom of a list to enable infinite scrolling. It further supports dynamic list header management and the implementation of
Automatically fetches and appends the next page of content when the user scrolls near the bottom.
SVPullToRefresh is a library for adding pull-to-refresh and infinite scrolling behaviors to UIKit scroll views on the iOS platform. It provides specialized user interface components that enable manual content refreshing and pagination within scrollable views. The library implements mechanisms to trigger data loading actions when a user pulls a scroll view from the top or reaches the bottom of a scrollable area. These triggers allow for syncing the latest information or appending more content to create continuous feeds.
Provides a mechanism to automatically fetch the next page of content when scrolling to the bottom.
in-view एक DOM विजिबिलिटी डिटेक्टर और इंटरसेक्शन ऑब्जर्वर रैपर है। यह एक व्यूपोर्ट ट्रांज़िशन हैंडलर के रूप में कार्य करता है जो विशिष्ट स्क्रीन एलिमेंट्स के ब्राउज़र विंडो में प्रवेश करने या बाहर निकलने पर कॉलबैक्स और इवेंट्स को ट्रिगर करता है। यह लाइब्रेरी पिक्सेल ऑफसेट्स, प्रतिशत, या कस्टम टेस्ट फंक्शन्स का उपयोग करके विजिबिलिटी मानदंड को कॉन्फ़िगर करने के लिए एक सिस्टम प्रदान करती है। इसमें विजिबिलिटी परिवर्तनों का निरीक्षण करने, मैनुअल विजिबिलिटी मूल्यांकन करने, और दृश्य क्षेत्र के भीतर किसी एलिमेंट की वर्तमान स्थिति की जांच करने के लिए यूटिलिटीज शामिल हैं। ये क्षमताएं लेज़ी लोडिंग, इनफिनिट स्क्रॉलिंग, स्क्रॉल-ड्रिवन एनिमेशन, और यूज़र एंगेजमेंट एनालिटिक्स जैसे एप्लिकेशन पैटर्न का समर्थन करती हैं।
Provides a configuration system to define visibility thresholds using pixels, percentages, or custom functions.
Stellar.js एक JavaScript पैरालैक्स लाइब्रेरी और स्क्रॉल-आधारित मोशन फ्रेमवर्क है जिसका उपयोग DOM एलिमेंट पोजिशनिंग और CSS ट्रांसफॉर्म को समन्वित करने के लिए किया जाता है। यह एक पोजिशनिंग टूल के रूप में कार्य करता है जो स्क्रॉल ट्रिगर्स के आधार पर बैकग्राउंड इमेज और फोरग्राउंड आइटम्स के लिए रीयल-टाइम कोऑर्डिनेट शिफ्ट की गणना करता है। लाइब्रेरी यह सुनिश्चित करने के लिए कि मूवमेंट मोबाइल और डेस्कटॉप ब्राउज़र दोनों पर हार्डवेयर-त्वरित हो, एक CSS ट्रांसफॉर्म एनिमेशन इंजन का उपयोग करती है। यह प्राकृतिक स्क्रॉल दर के सापेक्ष तत्वों पर अलग-अलग मूवमेंट गति लागू करके गहराई प्रभाव पैदा करती है। फ्रेमवर्क मोशन क्षमताओं की एक श्रृंखला को कवर करता है, जिसमें बैकग्राउंड और एलिमेंट पैरालैक्स के लिए स्पीड-रेशियो गणना, साथ ही ऑफसेट-आधारित अलाइनमेंट शामिल है। यह यह निर्धारित करने के लिए कि आइटम को अपनी मूल स्थिति में कब लौटना चाहिए, संदर्भ बिंदुओं के रूप में पूर्वज तत्वों की परिभाषा की अनुमति देता है।
Includes specialized adapters to read scroll positions from non-standard sources in touch-scrolling environments.
fluttereasyrefresh, Flutter लिस्ट घटकों के भीतर 'पुल-टू-रिफ्रेश' और 'इनफिनिट स्क्रॉल पेजिनेशन' को लागू करने के लिए एक लाइब्रेरी है। यह पुल-डाउन जेस्चर के माध्यम से डेटा रीलोड को ट्रिगर करने और पुल-अप ट्रिगर के माध्यम से अतिरिक्त डेटा प्राप्त करने के लिए आवश्यक कार्यात्मक घटक और लॉजिक प्रदान करती है। इस प्रोजेक्ट में एक डिकपल्ड इंडिकेटर आर्किटेक्चर है जो अनुकूलन योग्य विज़ुअल स्टाइल, थीम्ड एनिमेशन और हेडर और फुटर की लचीली स्थिति की अनुमति देता है। इसमें एक केंद्रीकृत कंट्रोलर शामिल है जो उपयोगकर्ता जेस्चर से स्वतंत्र रूप से रिफ्रेश और लोडिंग स्थितियों के प्रोग्रामेटिक प्रबंधन को सक्षम बनाता है। यह लाइब्रेरी अनुकूलन योग्य भौतिकी और जड़ता के माध्यम से स्क्रॉल प्रबंधन को कवर करती है, साथ ही पेज इंडेक्स के आधार पर डेटा लोडिंग को स्वचालित करने के लिए पेजिनेटेड डेटा सिंक्रनाइज़ेशन भी प्रदान करती है। यह व्यू पदानुक्रम के भीतर इंडिकेटर स्थितियों को समन्वयित करने के लिए नेस्टेड स्क्रॉल व्यू के लिए एकीकरण भी प्रदान करती है।
Uses custom scroll physics to detect overscroll offsets, triggering refresh headers or load footers based on drag distance.
react-waypoint is a React component and viewport tracking tool that executes functions based on the visibility of a DOM node within a scrollable area. It monitors when elements enter or leave the browser viewport or a specified scroll container to trigger callbacks. The project enables the implementation of infinite scrolling, asset lazy loading, and scroll-triggered animations. It allows for custom scroll container definitions and viewport boundary configurations using offsets to determine exactly when events fire. The tool provides element position tracking and visibility monitoring for bo
Fires user-defined callbacks when elements cross configurable viewport thresholds during vertical or horizontal scrolling.
react-waypoint is a set of React components and wrappers designed to execute callbacks when specific DOM elements enter or exit the visible screen area. It functions as a viewport visibility tracker that monitors when elements cross predefined spatial boundaries. The project provides a scroll trigger component and event wrapper that allow for custom offset configurations to account for fixed UI elements. These tools can be configured to use a specific DOM node or the global window as the scrollable ancestor for visibility calculations. The library covers several implementation patterns, incl
Configures top and bottom offsets to adjust the trigger points for element visibility.
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.
Sal is a lightweight vanilla JavaScript library designed to trigger CSS animations and execute custom logic as elements enter the browser viewport. It serves as a programmatic wrapper for the Intersection Observer API, providing a viewport trigger system to handle visibility thresholds and scroll-based animations. The library operates as a dependency-free frontend tool that manages animations through a class-based trigger mechanism and the injection of CSS custom properties. It includes a system for tracking dynamic content, allowing the observer to be updated to include new elements injected
Defines the percentage of an element's area or root margin required to trigger animations.
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
Defines custom scroll ranges anchored directly to specific document elements.
React custom scrollbars is a user interface component built for React applications that replaces native browser scrollbars with custom-styled tracks and thumbs. It maintains consistent visual appearance across different platforms and browsers while generating matching markup on both server and client environments to support server-side rendering without layout shift. The library provides comprehensive styling options by overriding default track, thumb, and view elements with custom components, CSS classes, or inline styles. It handles layout adjustments by resizing container dimensions dynami
The scroll component library triggers callback functions during scrolling actions so applications can respond smoothly to user movement.
This project is a frontend component designed to manage dynamic content loading and scroll-based interactions within web applications. It provides a reusable interface for handling data injection as users navigate through scrollable areas, ensuring that content updates occur automatically based on scroll position or manual user triggers. The component distinguishes itself by supporting both standard downward infinite scrolling and inverse scrolling, which allows for the natural expansion of content history in chat-like interfaces. It offers developers full control over the visual presentation
Monitors scroll position relative to container height to trigger automatic data fetching near the bottom.