Function twoHPan

  • Creates the horizontal pan that uses two touches.

    Parameters

    • logger: Logger

      The logger to use for this interaction

    • pxTolerance: number

      The pixel tolerance for considering the line horizontal.

    • 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 (() => TwoPan)

    The supplier that will produce the interaction when called

Generated using TypeDoc