SelectInteractionParams

data class SelectInteractionParams(val onClick: (Boolean) -> Unit, val onClickContentDescription: String?, val enabled: Boolean = true)

Select interaction params

Constructors

Link copied to clipboard
constructor(onClick: (Boolean) -> Unit, onClickContentDescription: String?, enabled: Boolean = true)

Properties

Link copied to clipboard
val enabled: Boolean = true

whether the component is enabled or grayed out.

Link copied to clipboard
val onClick: (Boolean) -> Unit

action triggered when select component is clicked. Here you should change expanded state to true if you want to display the options.

Link copied to clipboard

custom message to describe click action when talk back is active. "Will replace the default message "Double tap to activate".