PROTOCOL

InteractionItemSelectModel

swift
public protocol InteractionItemSelectModel: InteractionItemModel, InteractionValueModel

An InteractionItemModelthat represents a Select item that is mainly used by a SpinnerTextViewHolder.

Properties

action

swift
var action: Action?

An action that is to be triggered when an interaction occurs.

options

swift
var options: [(String, String)]

The available selection options

selectedPosition

swift
var selectedPosition: Int?

The currently selected position