awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

2 个仓库

Awesome GitHub RepositoriesViewport Intersection Callbacks

Callbacks 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.

Explore 2 awesome GitHub repositories matching user interface & experience · Viewport Intersection Callbacks. Refine with filters or upvote what's useful.

Awesome Viewport Intersection Callbacks GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • terwanerik/scrolltriggerterwanerik 的头像

    terwanerik/ScrollTrigger

    3,964在 GitHub 上查看↗

    ScrollTrigger 是一个 JavaScript 库和 DOM 滚动事件管理器,旨在当元素进入或离开浏览器视口时执行回调并切换 CSS 类。它作为 Intersection Observer API 的高级接口,以及一个用于根据元素相对于视口的位置启动视觉转换和异步任务的系统。 该工具允许使用像素或百分比偏移量定义精确的触发点,以精确控制事件触发的时间。它通过跟踪可见性阈值来管理滚动驱动的视觉动画和懒加载实现。 该库提供了监控滚动活动的功能,例如跟踪滚动何时开始、停止或改变方向。它进一步支持视口事件触发,以便在元素跨越特定坐标时运行自定义函数或 Promise。

    Runs custom functions or promises when elements enter, leave, or remain visible within the browser viewport.

    JavaScriptanimationcsshtml-element
    在 GitHub 上查看↗3,964
  • electerious/basicscrollelecterious 的头像

    electerious/basicScroll

    3,607在 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
    在 GitHub 上查看↗3,607
  1. Home
  2. User Interface & Experience
  3. Scroll Containers
  4. Custom Scroll Triggers
  5. Scroll Lifecycle Callbacks
  6. Viewport Intersection Callbacks