可根据智能设备的方向进行反应的 Parallax 引擎
Parallax 引擎可根据智能设备的方向进行响应。如果没有陀螺仪或运动检测硬件可用,则会使用 Cursor 的位置来代替。
然后,您将在 node_modules/parallax-js/src/parallax.js 中找到源代码,并在 node_modules/parallax-js/dist/parallax.min.js 中找到经过浏览器化、Babel 化、压缩的生产就绪版本。
node_modules/parallax-js/src/parallax.js
node_modules/parallax-js/dist/parallax.min.js
滑动条中的平行层
通过 DefinitelyTyped 提供 TypeScript 支持
只有在 Firefox 中才出现奇怪的链接问题(Windows、Mac、移动设备等)
使用 `import` 时, npm install 似乎不起作用
从正值转换到负值时进行跳跃
暂无评论,来聊聊你的看法吧