CarouselDismissParams

data class CarouselDismissParams(val onDismissClicked: () -> Unit, val dismissButtonContentDescription: String? = null)(source)

Data class that represent the necessary data to add an close CarouselDismissParams in the component.

Constructors

Link copied to clipboard
constructor(onDismissClicked: () -> Unit, dismissButtonContentDescription: String? = null)

Properties

Link copied to clipboard

text used by accessibility services to describe what the action represents. Use a localized string for this purpose.

Link copied to clipboard

action to be performed when the close button is clicked.