SelectCases

A collection of cases for a select item model.

See also

Functions

Link copied to clipboard
operator fun set(values: List<T>, selectModel: S.() -> ModelBuilder)

Adds a case that displays the model created by selectModel when any of values is present.

operator fun set(values: List<T>, model: ItemModel)

Adds a case that displays model when any of values is present.

operator fun set(value: T, vararg values: T, selectModel: S.() -> ModelBuilder)

Adds a case that displays the model created by selectModel when any of (value, values) is present.

operator fun set(value: T, vararg values: T, model: ItemModel)

Adds a case that displays model when any of (value, values) is present.