Start native apps faster with the Composables CLI ->
Composable Function

defaultDragHandleSemantics

This function sets up the default semantics of pane expansion drag handles with the given PaneExpansionState.

defaultDragHandleSemantics

Source set: Common
@Deprecated(
    message =
        "Just omit the semanticsProperties parameter when using " +
            "Modifier.paneExpansionDraggable to set up the default semantics",
    level = DeprecationLevel.WARNING,
)
@Composable
fun PaneExpansionState.defaultDragHandleSemantics(): SemanticsPropertyReceiver.() -> Unit

This function sets up the default semantics of pane expansion drag handles with the given PaneExpansionState. It will provide suitable contentDescription as well as onClick function to move the pane expansion among anchors that can be operated via accessibility services.

It's supposed to be used with a PaneScaffoldScope.paneExpansionDraggable modifier, or a plain semantics modifier associated with a drag handle composable.