🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

SuspendingPointerInputModifierNode

Deprecated, use SuspendingPointerInputModifierNode instead.

SuspendingPointerInputModifierNode

Source set: Common
@Deprecated(
    message =
        "This function is deprecated. Use 'SuspendingPointerInputModifierNode' with the" +
            "PointerInputEventHandler instead.",
    level = DeprecationLevel.HIDDEN,
    replaceWith =
        ReplaceWith(
            "SuspendingPointerInputModifierNode { pointerInputEventHandler }",
            "androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNode",
        ),
)
public fun SuspendingPointerInputModifierNode(
    pointerInputHandler: suspend PointerInputScope.() -> Unit
): SuspendingPointerInputModifierNode

Deprecated, use SuspendingPointerInputModifierNode instead.

SuspendingPointerInputModifierNode

Source set: Common
public 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.