Function rightPan

  • Creates a right pan (or a swipe if minVelocity is used).

    Parameters

    • logger: Logger

      The logger to use for this interaction

    • cancellable: boolean

      Whether the DnD can be cancelled by interacting with a dwell-and-spring element.

    • pxTolerance: number

      The pixel tolerance for considering the line to the right.

    • Optional minLength: number

      The minimal distance from the starting point to the release point for validating the pan

    • Optional minVelocity: number

      The minimal minVelocity to reach for validating the swipe. In pixels per second.

    Returns (() => TouchDnD)

    The supplier that will produce the interaction when called

Generated using TypeDoc