draggableHandle
fun Modifier.draggableHandle(enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}, dragGestureDetector: DragGestureDetector = DragGestureDetector.Press): Modifier
Makes this modifier act as a drag handle for the current table item from cell content.
This is a convenience wrapper around TableItemScope.applyDraggableHandle for use inside a TableCellScope context. The modifier only works correctly when applied to a node that is a descendant of ReorderableItem.
Return
a modifier with drag-handle behavior applied.
Parameters
whether drag gestures are enabled for this handle.
optional MutableInteractionSource used to emit DragInteraction.Start when dragging begins.
callback invoked when dragging starts.
callback invoked when dragging stops.
gesture detector that defines how dragging is started.
fun Modifier.draggableHandle(enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}, dragGestureDetector: DragGestureDetector = DragGestureDetector.Press): Modifier
Makes this modifier the drag handle for the whole block, from its header band. The node must be a descendant of the block's ReorderableItem.