SynthesizeScrollGestureParameter

@Serializable
data class SynthesizeScrollGestureParameter(val x: Double, val y: Double, val xDistance: Double? = null, val yDistance: Double? = null, val xOverscroll: Double? = null, val yOverscroll: Double? = null, val preventFling: Boolean? = null, val speed: Int? = null, val gestureSourceType: Input.GestureSourceType? = null, val repeatCount: Int? = null, val repeatDelayMs: Int? = null, val interactionMarkerName: String? = null)

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, xDistance: Double? = null, yDistance: Double? = null, xOverscroll: Double? = null, yOverscroll: Double? = null, preventFling: Boolean? = null, speed: Int? = null, gestureSourceType: Input.GestureSourceType? = null, repeatCount: Int? = null, repeatDelayMs: Int? = null, interactionMarkerName: String? = null)

Properties

Link copied to clipboard

Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).

Link copied to clipboard

The name of the interaction markers to generate, if not empty (default: "").

Link copied to clipboard
val preventFling: Boolean? = null

Prevent fling (default: true).

Link copied to clipboard
val repeatCount: Int? = null

The number of times to repeat the gesture (default: 0).

Link copied to clipboard
val repeatDelayMs: Int? = null

The number of milliseconds delay between each repeat. (default: 250).

Link copied to clipboard
val speed: Int? = null

Swipe speed in pixels per second (default: 800).

Link copied to clipboard
val x: Double

X coordinate of the start of the gesture in CSS pixels.

Link copied to clipboard
val xDistance: Double? = null

The distance to scroll along the X axis (positive to scroll left).

Link copied to clipboard
val xOverscroll: Double? = null

The number of additional pixels to scroll back along the X axis, in addition to the given distance.

Link copied to clipboard
val y: Double

Y coordinate of the start of the gesture in CSS pixels.

Link copied to clipboard
val yDistance: Double? = null

The distance to scroll along the Y axis (positive to scroll up).

Link copied to clipboard
val yOverscroll: Double? = null

The number of additional pixels to scroll back along the Y axis, in addition to the given distance.