defaultDragHandleSemantics

Functions summary

SemanticsPropertyReceiver.() -> Unit

This function is deprecated. Just omit the semanticsProperties parameter when using Modifier.paneExpansionDraggable to set up the default semantics

Cmn

Functions

PaneExpansionState.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.