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
id
the identifier for the item model
icon
the icon
title
the title
messageType
message type
showDetailLink
Show detail link or not, default is true
showCloseAction
Show close action or not, default is true