ActionChoice

data class ActionChoice<Value>(val action: suspend MutablePreviewLabField<Value>.() -> Unit) : HintChoice<Value>

A hint choice that executes a suspend action when selected.

Parameters

action

The suspend action to execute when this choice is selected. The action receives the field as its receiver, allowing direct manipulation.

Constructors

Link copied to clipboard
constructor(action: suspend MutablePreviewLabField<Value>.() -> Unit)

Properties

Link copied to clipboard