Function

SuspendingPointerInputModifierNode

Deprecated, use SuspendingPointerInputModifierNode instead.

SuspendingPointerInputModifierNode

Deprecated

This function is deprecated. Use 'SuspendingPointerInputModifierNode' with thePointerInputEventHandler instead.

Source set: Common
fun SuspendingPointerInputModifierNode(
    pointerInputHandler: suspend PointerInputScope.() -> Unit
): SuspendingPointerInputModifierNode

Deprecated, use SuspendingPointerInputModifierNode instead.

SuspendingPointerInputModifierNode

Source set: Common
fun SuspendingPointerInputModifierNode(
    pointerInputEventHandler: PointerInputEventHandler
): SuspendingPointerInputModifierNode

Supports suspending pointer event handling. This is used by pointerInput, so in most cases you should just use pointerInput for suspending pointer input. Creating a SuspendingPointerInputModifierNode should only be needed when you want to delegate to suspending pointer input as part of the implementation of a complex Modifier.Node.

Last updated: