momentum() {
    let deceleration = 0.001
    let speed = this.speed
    speed = min(speed, 4)
    let y = this.y
    let rate = (4 - Math.PI)/2
    let destination = y + rate * (speed * speed) / (2 * deceleration) * (this.distance < 0 ? -1 : 1)
    let duration = speed / deceleration
    let ease
    let minY = this.minY
    if (y > 0 || y < minY) {
      duration = 600
      ease = 'out-quart'
      destination = y > 0 ? 0 : minY
    } else if (destination > 0 || destination < minY) {
      ease = outBack;
      destination = destination > 0 ? 0 : minY;
      duration = 2 * Math.abs(destination - y + 40)/speed
    }
    return {
      dest: destination,
      duration,
      ease
    }
  }
/**
   * Calculate the animate props for moveon
   *
   * @return {Object}
   * @api private
   */
Calculate the animate props for moveon
@return {Object}
@api private
Calculate the animate props for moveon @return { Object } @api private
momentum() {
    let deceleration = 0.001
    let speed = this.speed
    speed = min(speed, 4)
    let y = this.y
    let rate = (4 - Math.PI)/2
    let destination = y + rate * (speed * speed) / (2 * deceleration) * (this.distance < 0 ? -1 : 1)
    let duration = speed / deceleration
    let ease
    let minY = this.minY
    if (y > 0 || y < minY) {
      duration = 600
      ease = 'out-quart'
      destination = y > 0 ? 0 : minY
    } else if (destination > 0 || destination < minY) {
      ease = outBack;
      destination = destination > 0 ? 0 : minY;
      duration = 2 * Math.abs(destination - y + 40)/speed
    }
    return {
      dest: destination,
      duration,
      ease
    }
  }
momentum ( ) { let deceleration = 0.001 let speed = this . speed speed = min ( speed , 4 ) let y = this . y let rate = ( 4 - Math . PI ) / 2 let destination = y + rate * ( speed * speed ) / ( 2 * deceleration ) * ( this . distance < 0 ? - 1 : 1 ) let duration = speed / deceleration let ease let minY = this . minY if ( y > 0 || y < minY ) { duration = 600 ease = 'out-quart' destination = y > 0 ? 0 : minY } else if ( destination > 0 || destination < minY ) { ease = outBack ; destination = destination > 0 ? 0 : minY ; duration = 2 * Math . abs ( destination - y + 40 ) / speed } return { dest : destination , duration , ease } }
Calculate the animate props for moveon
 @return {Object}
 @api private
Calculate the animate props for moveon @return { Object } @api private