Composable Function

defaultDragHandleSemantics

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
Deprecated Just omit the semanticsProperties parameter when using Modifier.paneExpansionDraggable to set up the default semantics

defaultDragHandleSemantics

@ExperimentalMaterial3AdaptiveApi
@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.