InteractiveContainer

@Composable
fun InteractiveContainer(scope: InteractiveScope? = rememberInteractiveScope(), selectionStyle: SelectionStyle = SelectionStyle(), modifier: Modifier = Modifier, onInput: (TextInputCommand) -> Unit = {}, onCursorMovement: (CursorPosition) -> Unit = { scope?.cursorPosition = it }, interactiveContent: @Composable () -> Unit)

Delimits region where all the interactive components will be considered parts of the same document.

Parameters

scope

State of this interactive region. Pass null to disable interaction.

interactiveContent

Child components.