scroll-animate:根据滚动位置动画元素

时间:2021-06-24 12:14:07
【文件属性】:
文件名称:scroll-animate:根据滚动位置动画元素
文件大小:243KB
文件格式:ZIP
更新时间:2021-06-24 12:14:07
JavaScript 滚动动画 按滚动位置动画元素。 目前需要 jQuery。 支持 AMD。 鲍尔 scroll-animate 可通过。 bower install scroll-animate --save 基本用法 // Create a new instance var scroll = new ScrollAnimate ( ) ; scroll . add ( { $el : $ ( '.box-1' ) , // scrollTop positions to track. values can be either a number or a function scroll : { start : 0 , stop : function ( $el ) { return $ ( document ) . height ( )
【文件预览】:
scroll-animate-master
----.coveralls.yml(46B)
----.jshintrc(360B)
----.flowconfig(39B)
----bower.json(578B)
----Gruntfile.js(2KB)
----src()
--------ease.js(13KB)
--------lib()
--------scroll-tween.js(3KB)
--------utilities.js(4KB)
--------scroll-animate.js(5KB)
----scroll-animate.min.js(8KB)
----lib()
--------scroll-animate.js(149B)
----tasks()
--------.jshintrc(269B)
--------config()
--------register()
----examples()
--------basic.html(3KB)
----.travis.yml(355B)
----LICENSE(1KB)
----README.md(3KB)
----.jscsrc(56B)
----scroll-animate.js(27KB)
----tests()
--------specs()
--------karma.conf.js(1KB)
--------vendor()
--------reportTemplate.html(5KB)
----.gitignore(52B)
----package.json(2KB)

网友评论