actionItem

abstract fun actionItem(id: String, initialColumn: Int, initialRow: Int, widthCells: Int = 1, heightCells: Int = 1, onClick: () -> Unit, content: @Composable () -> Unit)(source)

Adds a static or click-interactive action cell that cannot be dragged.

Parameters

id

Unique identifier string for the action tile.

initialColumn

Starting horizontal cell column index.

initialRow

Starting vertical cell row index.

widthCells

Total horizontal cell slots occupied.

heightCells

Total vertical cell slots occupied.

onClick

Action callback triggered upon clicking the container surface.

content

Composable slot lambda rendering the internal action content.