ReaderViewSwipeNavigationGestureOptions

data class ReaderViewSwipeNavigationGestureOptions(val pointerDragThresholdPx: Int = 32, val pointerTypes: PointerTypeOptions = PointerTypeOptions())

Options for swipe navigation gestures, set by IReaderViewOptions.gestureOptions

Constructors

Link copied to clipboard
fun ReaderViewSwipeNavigationGestureOptions(pointerDragThresholdPx: Int = 32, pointerTypes: PointerTypeOptions = PointerTypeOptions())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The number of pixels a pointer has to move before it will be interpreted as a swipe navigation gesture.

Link copied to clipboard

Sets which pointer-types that can trigger swipe navigation.