SuspendingPointerInputModifierNode
Function
Common
Deprecated This function is deprecated. Use 'SuspendingPointerInputModifierNode' with thePointerInputEventHandler instead.
fun SuspendingPointerInputModifierNode(
pointerInputHandler: suspend PointerInputScope.() -> Unit
): SuspendingPointerInputModifierNode
Deprecated, use SuspendingPointerInputModifierNode
instead.
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
.