2 مستودعات
React components that execute callbacks based on the visibility of the component's associated DOM element.
Distinct from React Components: Specifically targets the behavior of triggering callbacks on visibility rather than general reusable UI elements.
Explore 2 awesome GitHub repositories matching user interface & experience · Visibility Trigger Components. Refine with filters or upvote what's useful.
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
Offers a specialized React component that triggers callbacks when its associated element enters or leaves the viewport.
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
Provides a React component that executes a callback function when an element enters or leaves the visible area.