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

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

7 repository-uri

Awesome GitHub RepositoriesScroll Lifecycle Callbacks

User-defined functions executed at the start and end of a scroll animation for custom side effects.

Distinct from Custom Scroll Triggers: Distinct from Custom Scroll Triggers: fires callbacks at animation lifecycle points rather than detecting scroll position for data fetching.

Explore 7 awesome GitHub repositories matching user interface & experience · Scroll Lifecycle Callbacks. Refine with filters or upvote what's useful.

Awesome Scroll Lifecycle Callbacks GitHub Repositories

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • tholman/elevator.jsAvatar tholman

    tholman/elevator.js

    6,641Vezi pe GitHub↗

    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.

    JavaScript
    Vezi pe GitHub↗6,641
  • russellsamora/scrollamaAvatar russellsamora

    russellsamora/scrollama

    5,982Vezi pe GitHub↗

    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.

    HTML
    Vezi pe GitHub↗5,982
  • cferdinandi/smooth-scrollAvatar cferdinandi

    cferdinandi/smooth-scroll

    5,444Vezi pe GitHub↗

    Această bibliotecă JavaScript de smooth scrolling este un utilitar frontend și un controller de mișcare a viewport-ului, conceput pentru a anima tranzițiile către link-uri ancoră. Aceasta interceptează click-urile standard pe link-uri pentru a înlocui salturile instantanee cu o mișcare fluidă către elementele țintă. Biblioteca oferă tipare de easing configurabile și controale de viteză pentru a gestiona accelerația și decelerarea. Include un mecanism pentru a anula imediat animațiile active și suportă declanșarea programatică a scroll-ului prin apeluri directe de funcții. Instrumentul gestionează offset-urile de poziționare pentru a preveni ascunderea conținutului țintă în spatele header-elor fixe și sincronizează bara de adrese a browserului în timpul tranzițiilor. De asemenea, dispune de un sistem de callback bazat pe evenimente care declanșează efecte secundare atunci când animațiile de scroll încep, se încheie sau sunt întrerupte.

    Provides user-defined callbacks that execute at the start and end of smooth scrolling animations.

    JavaScriptanchor-linksanimate-scrollingjavascript
    Vezi pe GitHub↗5,444
  • civiccc/react-waypointAvatar civiccc

    civiccc/react-waypoint

    4,046Vezi pe GitHub↗

    react-waypoint este o componentă React și un instrument de urmărire a viewport-ului care execută funcții bazate pe vizibilitatea unui nod DOM într-o zonă scrollabilă. Acesta monitorizează când elementele intră sau părăsesc viewport-ul browserului sau un container de scroll specificat pentru a declanșa callback-uri. Proiectul permite implementarea scroll-ului infinit, încărcarea leneșă a activelor și animații declanșate la scroll. Permite definirea containerelor de scroll personalizate și configurarea limitelor viewport-ului folosind offset-uri pentru a determina exact când se declanșează evenimentele. Instrumentul oferă urmărirea poziției elementelor și monitorizarea vizibilității atât pentru scroll vertical, cât și orizontal. Include controlul sensibilității declanșatorului și limitarea ratei evenimentelor (throttling) pentru a gestiona execuția callback-urilor în timpul scroll-ului rapid.

    Fires user-defined callbacks when elements cross configurable viewport thresholds during vertical or horizontal scrolling.

    JavaScript
    Vezi pe GitHub↗4,046
  • terwanerik/scrolltriggerAvatar terwanerik

    terwanerik/ScrollTrigger

    3,964Vezi pe GitHub↗

    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.

    JavaScriptanimationcsshtml-element
    Vezi pe GitHub↗3,964
  • electerious/basicscrollAvatar electerious

    electerious/basicScroll

    3,607Vezi pe GitHub↗

    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.

    JavaScript
    Vezi pe GitHub↗3,607
  • malte-wessel/react-custom-scrollbarsAvatar malte-wessel

    malte-wessel/react-custom-scrollbars

    3,217Vezi pe GitHub↗

    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.

    JavaScriptcustomizablereactscrollbars
    Vezi pe GitHub↗3,217
  1. Home
  2. User Interface & Experience
  3. Scroll Containers
  4. Custom Scroll Triggers
  5. Scroll Lifecycle Callbacks

Explorează sub-etichetele

  • Step Enter-Exit CallbacksFires user-defined callbacks when step elements enter or exit a configurable viewport threshold during scrolling. **Distinct from Scroll Lifecycle Callbacks:** Distinct from Scroll Lifecycle Callbacks: triggers on viewport threshold crossing for step elements, not at animation lifecycle start/end points.
  • Viewport Intersection CallbacksCallbacks 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.