【文件属性】:
文件名称:jquery-transitionend:只是过渡过渡CSS动画事件的一个猴子补丁
文件大小:4KB
文件格式:ZIP
更新时间:2021-04-30 05:08:31
JavaScript
jQuery-CSS动画的transitionend
Monkeypatch jQuery.fn.on函数,因此我们可以使用
$ ( '.my-element' ) . one ( 'transitionend' , function ( ) {
console . log ( 'Finished animation' ) ;
} ) ;
代替
$ ( '.my-element' ) . one ( 'webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend' , function ( ) {
console . log ( 'Finished animation' ) ;
} ) ;
作为Bower软件包提供: bower install jquery-transitionend 。
也可作为NPM软
【文件预览】:
jquery-transitionend-master
----package.json(493B)
----jquery-transitionend.js(513B)
----test()
--------tests.js(924B)
--------index.html(710B)
----.bowerrc(28B)
----.gitignore(7B)
----README.md(2KB)
----bower.json(315B)