code: function pause () {
          triggerEvent('pause');
          stopLoop(animationId);
          pausedAfter = startTime - performance.now();
          startTime = undefined;
          return self;
        }
docs: Pause animation and resume from this point