code: function () {
      this.updateConfig();
      this.animation.began = true;
      this.time = 0;
      this.animationIsPlaying = true;
      this.stopRelatedAnimations();
      this.el.emit('animationbegin', this.eventDetail, false);
    }
docs: This is before animation start (including from startEvents).
  Set to initial state (config.from, time = 0, seekTime = 0).