SelectionController

A controller for selection.

Functions

Link copied to clipboard
abstract fun clearSelection()

Clears the current selection.

Link copied to clipboard
abstract suspend fun currentSelection(): Selection<S>?

Gets the currently selected content at the call time or a bit later.