14 रिपॉजिटरी
Using the IntersectionObserver API to detect element visibility within the viewport.
Distinct from Viewport Event Listeners: Existing candidates focused on geolocation or system-level change detection rather than viewport visibility observers.
Explore 14 awesome GitHub repositories matching web development · Intersection Observer Implementations. Refine with filters or upvote what's useful.
AOS is a scroll-triggered animation library that controls the execution, timing, and mapping of CSS transitions based on element visibility and browser viewport intersections. It functions as a DOM element animation controller and a viewport intersection trigger to initiate visual transitions as elements enter the screen. The library utilizes a custom CSS transition bridge to map scroll-based triggers to CSS class changes, enabling integration with external styling frameworks. It supports anchor-based animation triggers, allowing the visibility of one page element to act as the trigger point
Uses the IntersectionObserver API to detect element visibility within the viewport to initiate CSS transitions.
ScrollReveal is a client-side JavaScript library used to trigger CSS animations and transitions for page elements as they enter the browser viewport. It functions as a DOM element animation trigger and a simplified wrapper for the Intersection Observer API to coordinate visual entrance effects and staggered animations based on the user's scroll position. The library focuses on scroll-driven motion and reveal effects, enabling the execution of visual changes and animations automatically as a user navigates a website. It manages the reveal of page content to create movement and progression with
Uses the native Intersection Observer API to detect when elements enter the viewport.
vue-lazyload is a Vue.js image lazy loading plugin and frontend asset optimizer. It serves as a viewport visibility observer that defers the loading of images and components until they enter the browser viewport to reduce initial page load times. The project functions as a progressive image loader by managing image placeholders and implementing dynamic source switching. It uses a browser API to monitor when elements enter the viewport, avoiding expensive scroll event listeners to maintain performance. The plugin provides capabilities for image loading state tracking, including custom placeho
Uses the IntersectionObserver API to monitor element visibility without expensive scroll event listeners.
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
Uses the browser's native IntersectionObserver API to trigger asset loading when elements enter the viewport.
usehooks-ts is a comprehensive collection of reusable TypeScript-based hooks designed for managing state, DOM events, and browser API interactions within React applications. It provides a typed library of functions to handle common frontend patterns and side effects. The project distinguishes itself by offering specialized hooks for browser integration, including tools for interacting with the system clipboard, managing local and session storage persistence, and loading external scripts. It also includes utilities for responsive UI development, such as tracking media queries, window dimension
Integrates the Intersection Observer API to detect element visibility within the viewport.
यह प्रोजेक्ट एक React लेज़ी लोडिंग कंपोनेंट है जिसे चाइल्ड एलिमेंट्स के ब्राउज़र व्यूपोर्ट में आने तक उनकी रेंडरिंग को स्थगित करके फ्रंटएंड परफॉरमेंस को बेहतर बनाने के लिए डिज़ाइन किया गया है। यह एक रिसोर्स लाइफसाइकिल मैनेजर और विजिबिलिटी ट्रिगर के रूप में काम करता है, जो ऑफ-स्क्रीन कंपोनेंट्स के अनावश्यक माउंट्स को रोककर शुरुआती पेज लोड टाइम्स और मेमोरी उपयोग को कम करता है। यह लाइब्रेरी विजिबिलिटी ट्रिगर्स के लिए कॉन्फ़िगरेशन प्रदान करती है, जिससे यह निर्धारित किया जा सकता है कि कंपोनेंट कब लोड होगा। यह कंपोनेंट लाइफसाइकिल को मैनेज करने के लिए मैकेनिज्म शामिल करती है, जिससे यह चुनने की सुविधा मिलती है कि क्या कोई कंपोनेंट दिखाई देने के बाद लोड रहेगा या व्यूपोर्ट छोड़ने पर अनमाउंट हो जाएगा।
Implements the native IntersectionObserver API to detect when elements enter the viewport without polling.
react-lazyload एक React कंपोनेंट और व्यूपोर्ट विजिबिलिटी रैपर है जिसे ऑफ-स्क्रीन UI एलिमेंट्स के प्रदर्शन को स्थगित करके रिसोर्स खपत को कम करने के लिए डिज़ाइन किया गया है। यह एक फ्रंटएंड परफॉरमेंस ऑप्टिमाइज़र के रूप में काम करता है जो इमेजेस या कंपोनेंट्स की रेंडरिंग को तब तक के लिए डिले करता है जब तक कि वे ब्राउज़र व्यूपोर्ट में प्रवेश न कर लें। यह लाइब्रेरी प्लेसहोल्डर डाइमेंशन्स की परिभाषा की अनुमति देकर लेआउट शिफ्ट्स को रोकती है, जिससे कंटेंट के लेज़ी लोड होने के दौरान पेज की स्थिरता बनी रहती है। यह इंटरनल स्टेट और वैकल्पिक एनिमेशन का उपयोग करके इन प्लेसहोल्डर्स से वास्तविक कंटेंट में ट्रांज़िशन को मैनेज करती है।
Uses the Intersection Observer API to detect when elements enter the viewport and trigger rendering.
react-intersection-observer Intersection Observer API का एक React इम्प्लीमेंटेशन है जिसे यह ट्रैक करने के लिए डिज़ाइन किया गया है कि DOM तत्व कब ब्राउज़र व्यूपोर्ट में प्रवेश करते हैं या छोड़ते हैं। यह तत्व दृश्यता की निगरानी करने और उपयोगकर्ता के लिए सामग्री दिखाई देने पर कॉलबैक ट्रिगर करने के लिए एक रैपर और हुक का एक सेट प्रदान करता है। लाइब्रेरी में यह निर्धारित करने के लिए DOM ऑक्लूजन डिटेक्शन का एक मैकेनिज्म शामिल है कि क्या कोई तत्व अन्य घटकों द्वारा कवर किया गया है या CSS फिल्टर द्वारा छिपा हुआ है। इसमें एक पॉलीफिल रैपर भी है जो उन ब्राउज़रों के लिए दृश्यता फॉलबैक प्रदान करता है जो मूल रूप से इंटरसेक्शन ऑब्जर्वर क्षमताओं का समर्थन नहीं करते हैं। प्रोजेक्ट विभिन्न दृश्यता ट्रैकिंग क्षमताओं को कवर करता है, जिसमें घटक पुन: रेंडर के लिए स्टेट-सिंक्ड अपडेट और स्टेट को अपडेट किए बिना कॉलबैक निष्पादित करने के लिए नॉन-रेंडरिंग मॉनिटरिंग शामिल है। ये टूल्स इनफिनिट स्क्रॉलिंग, एसेट्स की लेज़ी लोडिंग और स्क्रॉल-आधारित एनिमेशन के कार्यान्वयन का समर्थन करते हैं।
Provides a React implementation of the Intersection Observer API for viewport visibility tracking.
layzr.js एक JavaScript इमेज लेज़ी लोडिंग लाइब्रेरी है जिसे इमेजेस के ब्राउज़र व्यूपोर्ट में प्रवेश करने तक उनके डाउनलोड में देरी करके प्रारंभिक पेज लोड गति में सुधार करने के लिए डिज़ाइन किया गया है। यह एक रिस्पॉन्सिव इमेज सेलेक्टर के रूप में कार्य करता है जो ब्राउज़र समर्थन और डिवाइस पिक्सेल अनुपात के आधार पर सबसे उपयुक्त इमेज सोर्स की पहचान करता है। यह लाइब्रेरी रिस्पॉन्सिव इमेज डिलीवरी के लिए एक सिस्टम का उपयोग करती है जो इष्टतम सोर्सेस का चयन करने के लिए डेटा एट्रिब्यूट्स का मूल्यांकन करती है। इसमें डायनामिक कंटेंट ट्रैकिंग के लिए एक तंत्र शामिल है, जो यह सुनिश्चित करने के लिए कि वे स्वचालित रूप से लोडिंग कतार में जुड़ जाएं, नई जोड़ी गई इमेजेस के लिए दस्तावेज़ की निगरानी करता है। यह प्रोजेक्ट Intersection Observer API के माध्यम से दृश्यता ट्रैकिंग प्रदान करता है और मैन्युअल व्यूपोर्ट रिफ़्रेश को मजबूर करने के लिए एक यूटिलिटी शामिल करता है। इसमें एक इवेंट एमिटर भी है जो इमेज सोर्सेस के अपडेट होने से पहले और बाद में लाइफ़साइकिल हुक्स के माध्यम से कस्टम लॉजिक को निष्पादित करने की अनुमति देता है।
Implements the IntersectionObserver API to detect element visibility within the viewport and trigger source updates.
Splide is a framework-agnostic TypeScript library for creating accessible, touch-enabled content carousels and image galleries. It provides a dependency-free implementation of sliders that support drag, swipe, and flick interactions across mobile and desktop browsers. The library distinguishes itself through a comprehensive accessibility layer using ARIA roles and screen reader support. It features a responsive breakpoint system that adapts slide dimensions and behavior based on screen width, alongside a plugin system for extending core functionality with custom components and transition effe
Utilizes the IntersectionObserver API to trigger autoplay and media loading only when the carousel is visible.
Precedent एक Next.js एप्लिकेशन स्टार्टर और कंपोनेंट लाइब्रेरी है जो प्रोडक्शन-रेडी वेब इंटरफ़ेस बनाने के लिए पूर्व-कॉन्फ़िगर किए गए टूल्स और प्रिमिटिव्स का एक आधारभूत सेट प्रदान करती है। यह इंटीग्रेटेड ऑथेंटिकेशन, एनालिटिक्स और ओपिनियनेटेड UI कंपोनेंट्स के संग्रह के साथ एप्लिकेशन को बूटस्ट्रैप करने के लिए एक टूलकिट के रूप में कार्य करती है। यह प्रोजेक्ट अपने Tailwind CSS UI किट के माध्यम से खुद को अलग बनाता है, जो पॉलिश किए गए इंटरफ़ेस बनाने के लिए एक्सेसिबिलिटी प्रिमिटिव्स और मोशन लाइब्रेरीज़ को जोड़ता है। इसमें नेटवर्क एज पर डायनामिक सोशल शेयरिंग इमेज और प्रीव्यू विज़ुअल्स को प्रोग्रामेटिक रूप से बनाने के लिए एक सर्वर-साइड इमेज जनरेटर शामिल है। यह लाइब्रेरी क्षमताओं की एक विस्तृत श्रृंखला को कवर करती है, जिसमें यूजर ऑथेंटिकेशन और सेशन मैनेजमेंट के लिए थर्ड-पार्टी आइडेंटिटी एकीकरण, विज़िटर मेट्रिक्स को ट्रैक करने के लिए प्राइवेसी-फ़ोकस्ड वेबसाइट एनालिटिक्स, और क्लाइंट-साइड स्टेट, लोकल स्टोरेज व एलिमेंट विज़िबिलिटी को मैनेज करने के लिए कस्टम React हुक्स का संग्रह शामिल है। यह टेक्स्ट और नंबरों को फ़ॉर्मेट करने के लिए यूटिलिटीज़ भी प्रदान करती है।
Implements reusable utilities to track element visibility using intersection observers.
Autotrack Google Analytics के लिए एक JavaScript लाइब्रेरी है जो यूज़र इंटरैक्शन और पेज एंगेजमेंट को ऑटोमैटिकली कैप्चर करती है। यह डिक्लेरेटिव एनालिटिक्स कार्यान्वयन के लिए एक सिस्टम प्रदान करती है, जिससे वेब इवेंट्स को HTML एट्रिब्यूट्स के माध्यम से ट्रैक किया जा सकता है। इस प्रोजेक्ट में एक एनालिटिक्स बंडल जनरेटर शामिल है जो केवल विशिष्ट ट्रैकिंग प्लगइन्स वाली मिनिमल JavaScript फाइलें बनाता है। यह एक सिंगल पेज एप्लीकेशन ट्रैकर के रूप में भी कार्य करता है जो वर्चुअल पेजव्यू रिकॉर्ड करने के लिए ब्राउज़र हिस्ट्री में बदलावों की निगरानी करता है। लाइब्रेरी स्क्रॉल डेप्थ, एलिमेंट विजिबिलिटी और मीडिया क्वेरी स्टेट्स को ट्रैक करने जैसी व्यापक क्षमताएं प्रदान करती है।
Uses the Intersection Observer API to detect when specific elements enter the viewport for impression tracking.
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
Uses the IntersectionObserver API to asynchronously detect when elements enter or exit the viewport.
Fluid Player is a web-based media playback library designed to embed lightweight, responsive video players into websites. It supports standard video formats and adaptive streaming across modern browsers, providing a foundation for consistent media delivery and custom interface branding. The library distinguishes itself through integrated support for industry-standard advertising protocols, allowing for the injection and orchestration of linear and non-linear video advertisements. It includes built-in tracking for viewer engagement and performance metrics, ensuring that ad delivery is synchron
Uses the Intersection Observer API to monitor container visibility and trigger automatic transitions to a mini-player mode.