MCPcopy Create free account
hub / github.com/ygs-code/vue / end

Function end

vue.js:11024–11028  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11022 var event = type === TRANSITION ? transitionEndEvent : animationEndEvent;
11023 var ended = 0;
11024 var end = function () { //结束动画函数
11025 //删除动画事件
11026 el.removeEventListener(event, onEnd);
11027 cb(); //回调执行动画
11028 };
11029 var onEnd = function (e) {
11030 if (e.target === el) {
11031 if (++ended >= propCount) {

Callers 2

onEndFunction · 0.85
whenTransitionEndsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected