[android-components](../../index.md) / [mozilla.components.feature.prompts.dialog](../index.md) / [ColorItem](index.md) / [selected](./selected.md)

# selected

`val selected: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/dialog/BasicColorAdapter.kt#L36)

if true, this is the color that will be set when the dialog is closed.

### Property

`selected` - if true, this is the color that will be set when the dialog is closed.