awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
camwiegert avatar

camwiegert/in-viewArchived

0
View on GitHub↗
4,611 stars·229 forks·JavaScript·MIT·11 viewscamwiegert.github.io/in-view↗

In View

in-view is a DOM visibility detector and intersection observer wrapper. It serves as a viewport transition handler that triggers callbacks and events when specific screen elements enter or exit the browser window.

The library provides a system for configuring visibility criteria using pixel offsets, percentages, or custom test functions. It includes utilities for observing visibility changes, performing manual visibility evaluations, and checking the current status of an element within the visible area.

These capabilities support application patterns such as lazy loading, infinite scrolling, scroll-driven animations, and user engagement analytics.

Features

  • Intersection Observer Wrappers - Provides a wrapper around the native browser Intersection Observer API to asynchronously monitor element visibility.
  • Viewport Boundary Triggers - Triggers events when elements cross the boundary of the visible viewport, including support for one-time execution.
  • Viewport Transition Handlers - Handles the execution of logic when elements cross visibility thresholds defined by pixel offsets or percentages.
  • DOM Visibility Detectors - Acts as a DOM visibility detector that triggers callbacks based on whether elements are visible to the user.
  • Element Visibility Detection - Triggers callbacks when specific screen elements enter or leave the browser's visible viewport.
  • Custom Visibility Predicates - Allows users to define custom boolean functions to override default intersection logic for precise visibility control.
  • Viewport Offset Calculators - Implements coordinate-based calculations using pixel offsets from viewport edges to trigger visibility events.
  • Visibility Trigger Configurators - Provides a configuration system to define visibility thresholds using pixels, percentages, or custom functions.
  • Viewport Visibility Observers - Monitors when specific DOM elements enter or leave the user's field of view to trigger logic.
  • Viewport Visibility State Tracking - Maintains the visibility state of elements to prevent redundant event triggers during scroll movements.
  • Event-Driven Callbacks - Provides event-driven callbacks that execute specific functions when browser visibility changes are detected.
  • Scroll Animations - Triggers visual effects and transitions when elements enter the viewport during scrolling.
  • Infinite Scroll Triggers - Detects when sentinel elements become visible to automatically trigger the loading of additional content.
  • Manual Visibility Triggers - Includes utilities to manually force a recalculation of an element's visibility status in the viewport.
  • Image Lazy Loading - Defers the loading of heavy content or images until they are about to enter the visible screen area.

Star history

Star history chart for camwiegert/in-viewStar history chart for camwiegert/in-view

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with In View

These projects share indexed features with In View. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • brigade/react-waypointbrigade avatar

    brigade/react-waypoint

    4,047View on GitHub↗

    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

    JavaScript
    View on GitHub↗4,047
  • mciastek/salmciastek avatar

    mciastek/sal

    3,693View on GitHub↗

    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

    HTML
    View on GitHub↗3,693
  • civiccc/react-waypointciviccc avatar

    civiccc/react-waypoint

    4,046View on GitHub↗

    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

    JavaScript
    View on GitHub↗4,046
  • hilongjw/vue-lazyloadhilongjw avatar

    hilongjw/vue-lazyload

    8,006View on GitHub↗

    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

    JavaScriptlazyloadvuevue-lazyload
    View on GitHub↗8,006
Compare all 30 related projects→

Frequently asked questions

What does camwiegert/in-view do?

in-view is a DOM visibility detector and intersection observer wrapper. It serves as a viewport transition handler that triggers callbacks and events when specific screen elements enter or exit the browser window.

What are the main features of camwiegert/in-view?

The main features of camwiegert/in-view are: Intersection Observer Wrappers, Viewport Boundary Triggers, Viewport Transition Handlers, DOM Visibility Detectors, Element Visibility Detection, Custom Visibility Predicates, Viewport Offset Calculators, Visibility Trigger Configurators.

Which projects share features with camwiegert/in-view?

Projects with overlapping indexed features include: brigade/react-waypoint — react-waypoint is a set of React components and wrappers designed to execute callbacks when specific DOM elements… mciastek/sal — Sal is a lightweight vanilla JavaScript library designed to trigger CSS animations and execute custom logic as… civiccc/react-waypoint — react-waypoint is a React component and viewport tracking tool that executes functions based on the visibility of a… hilongjw/vue-lazyload — vue-lazyload is a Vue.js image lazy loading plugin and frontend asset optimizer. It serves as a viewport visibility… thebuilder/react-intersection-observer — react-intersection-observer is a React implementation of the Intersection Observer API designed to track when DOM… verlok/vanilla-lazyload — vanilla-lazyload is a JavaScript lazy loading library and viewport-based asset loader designed to improve page load…