src/common/transition/index.js
function listener({ target }) {
        target.removeEventListener(TRANSITION_END, listener);

        if (++ran === pending) {
            ended = true;
            classList.remove(className);

            if (cb) {
                cb();
            }
        }
    }
function listener({ target }) {
        target.removeEventListener(TRANSITION_END, listener);

        if (++ran === pending) {
            ended = true;
            classList.remove(className);

            if (cb) {
                cb();
            }
        }
    }
function listener ( { target } ) { target . removeEventListener ( TRANSITION_END , listener ) ; if ( ++ ran === pending ) { ended = true ; classList . remove ( className ) ; if ( cb ) { cb ( ) ; } } }
Handles a single transition end event.
Once all child transitions have ended the overall animation is completed.
Handles a single transition end event . Once all child transitions have ended the overall animation is completed .