PROTOCOL

SelectorItemInteractionActionModel

swift
public protocol SelectorItemInteractionActionModel: SelectorItemModel, InteractionActionModel

An interactive representation for a SelectorItemModel that contains an action.

Properties

action

swift
var action: any RepresentationActionModel

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

type

swift
var type: String?

An optional type representation for the item.

icon

swift
var icon: String?

An optional icon resource name.

shouldKeepFocus

swift
var shouldKeepFocus: Bool

A Boolean indicating if the item should keep focus or not.