PROTOCOL
SelectorItemInteractionActionModel
public protocol SelectorItemInteractionActionModel: SelectorItemModel, InteractionActionModel
An interactive representation for a SelectorItemModel
that contains an action.
Properties
action
var action: any RepresentationActionModel
An action that is to be triggered when an interaction occurs.
type
var type: String?
An optional type representation for the item.
icon
var icon: String?
An optional icon resource name.
shouldKeepFocus
var shouldKeepFocus: Bool
A Boolean indicating if the item should keep focus or not.