Skip to content

ISwipeOptions

Type interface

Represents collection of options for swipe gesture.

Sources

ISwipeOptions is an interface: it describes a shape of data and is not imported on its own.

Properties

horizontalThreshold

Type number

Minimum number of pixels to move horizontally for swipe to register.

time

Type number

Time limit in milliseconds for swipe to occur.

verticalThreshold

Type number

Vertical limit in pixels. Gesture deviating more than that will cancel swipe.