1 个仓库
Interfaces for reading scroll data from non-standard or touch-specific scrolling environments.
Distinct from Custom Scroll Triggers: Focuses on the source of the scroll data (adapters) rather than the event triggers themselves.
Explore 1 awesome GitHub repository matching user interface & experience · Scroll Source Adapters. Refine with filters or upvote what's useful.
Stellar.js 是一个 JavaScript 视差库和基于滚动的运动框架,用于协调 DOM 元素定位和 CSS 变换。它作为一个定位工具,根据滚动触发器计算背景图像和前景项目的实时坐标偏移。 该库利用 CSS 变换动画引擎,确保移动端和桌面端浏览器上的运动均经过硬件加速。它通过对元素应用相对于自然滚动速率的不同移动速度来创建深度效果。 该框架涵盖了一系列运动功能,包括背景和元素视差的速度比计算,以及基于偏移的对齐。它允许将祖先元素定义为参考点,以确定项目何时应返回其原始位置。
Includes specialized adapters to read scroll positions from non-standard sources in touch-scrolling environments.