Type Alias ScrollAction

ScrollAction: { cancel: () => boolean; waitFor: () => Promise<ScrollPosition> }

Type declaration

  • cancel: () => boolean
  • waitFor: () => Promise<ScrollPosition>

    Will reject if the scroll is cancelled.