首页 > JS事件问题

JS事件问题

为什么像 transitionend这类事件不能通过on添加事件处理函数,on只能添加DOM0 和 DOM2级的 ??


在JQuery里面可以如下添加事件:

 $element.on('transitionend webkitTransitionEnd oTransitionEnd', function () {
            // your codes
        });
【热门文章】
【热门文章】