webkitTransitionEnd not firing
webkitTransitionEnd not firing
我不确定到底发生了什么,但我很确定这是工作在一个点。
事件没有触发(或者我没有正确捕获)
var $zoomBox = $('#zoomBox');
$zoomBox.bind('webkitTransitionEnd', function(e) {
alert("test");
});
$('.button').click(function (e) {
$zoomBox.css('-webkit-transform', 'matrix(2,1,1,2,300, 100)');
});
见下文。框完成转换后,应该弹出一个警告,但该警告没有显示。
http://jsfiddle.net/cGwb4/1/CSS中没有指定过渡,所以您根本没有得到过渡。你只是在改变没有webkitTransitionEnd
事件的CSS。
看到固定的例子在这里(在Chrome或Safari): http://jsfiddle.net/jfriend00/75Mh2/我已经添加:
-webkit-transition: -webkit-transform 3s;
相关文章:
- WebSocket onmessage not firing
- Backbone model.change() not firing
- codemirror onKeyEvent not firing
- Dojo onBeforeTransitionIn not firing
- CSS TransitionEnd not firing
- RegisterClientScriptBlock - not firing
- GWT History.back() is not firing onValueChangeHandler
- Signalr connection.start.done not firing
- Javascript XMLHttpRequest onreadystatechanged not firing?
- jstree select_node.jstree not firing
- Jquery not firing
- jQuery.on("drop") not firing
- Javascript window.onload not firing
- MVC 5 javascript not firing
- Javascript FileReader onload not firing
- setTimeout not firing jQuery
- setInterval() not firing
- $.getJSON not firing console.log
- Sails.js IO.socket not firing
- react componentDidMount not firing