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