Scoop API

scoop:scoop.ui:0.1.0

TextTouchOptions

class TextTouchOptions

source · line 8
public
public class TextTouchOptions public constructor(
    public val enabled: Boolean = true,
    public val threshold: Double = 8.0,
    public val longPressDelay: Duration? = Some(Duration.milliseconds(500L)),
    public val multiTap: Boolean = true,
    public val multiTapInterval: Duration? = None,
    public val selectionHandles: TextSelectionHandleOptions = TextSelectionHandleOptions(),
    public val hapticFeedback: Boolean = true
)

Direct text taps and holds are independent of native mouse and keyboard commands.

constructor constructor

source · line 8
public
constructor(public val enabled: Boolean = true, public val threshold: Double = 8.0, public val longPressDelay: Duration? = Some(Duration.milliseconds(500L)), public val multiTap: Boolean = true, public val multiTapInterval: Duration? = None, public val selectionHandles: TextSelectionHandleOptions = TextSelectionHandleOptions(), public val hapticFeedback: Boolean = true)