code: function() {
          let shouldContinue = Math.abs(self.__decelerationVelocityX) >= minVelocityToKeepDecelerating || Math.abs(self.__decelerationVelocityY) >= minVelocityToKeepDecelerating
          if (!shouldContinue) {
            self.__didDecelerationComplete = true
          }
          return shouldContinue
        }
docs: Detect whether it's still worth to continue animating steps If we are already slow enough to not being user perceivable anymore, we stop the whole process here.