FUIBannerMessageItemModel
public struct FUIBannerMessageItemModel : Identifiable
Single Banner Message Model
-
Declaration
Swift
public var id: UUID -
Banner icon
Declaration
Swift
public var icon: UIImage -
Banner title
Declaration
Swift
public var title: String -
Message Type
Declaration
Swift
public var messageType: FUIBannerMessageView.FUIBannerMessageViewSemantic -
Show detail link or not, default is true
Declaration
Swift
public var showDetailLink: Bool -
Show close action or not, default is true
Declaration
Swift
public var showCloseAction: Bool -
Localized message type description
Declaration
Swift
public var typeDesc: String { get } -
Public Initializer for FUIBannerMessageItemModel
Declaration
Swift
public init(id: UUID = UUID(), icon: UIImage, title: String, messageType: FUIBannerMessageView.FUIBannerMessageViewSemantic, showDetailLink: Bool = true, showCloseAction: Bool = true)Parameters
idthe identifier for the item model
iconthe icon
titlethe title
messageTypemessage type
showDetailLinkShow detail link or not, default is true
showCloseActionShow close action or not, default is true