BannerMessageItemModel
public struct BannerMessageItemModel : Identifiable
This file provides default fiori style for the component.
- Uncomment fhe following code.
- Implement layout and style in corresponding places.
- Delete
.generatedfrom file name. - Move this file to
_FioriStylesfolder underFioriSwiftUICore.
-
Declaration
Swift
public var id: UUID -
Banner icon
Declaration
Swift
public var icon: (any View)? -
Banner title
Declaration
Swift
public var title: String -
Message Type
Declaration
Swift
public var messageType: BannerMultiMessageType -
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 -
Show swipe delete action or not, default is true
Declaration
Swift
public var showSwipeDeleteAction: Bool -
Undocumented
Declaration
Swift
public var typeDesc: String { get } -
Undocumented
Declaration
Swift
public init(id: UUID = UUID(), icon: (any View)?, title: String, messageType: BannerMultiMessageType, showDetailLink: Bool = true, showCloseAction: Bool = true, showSwipeDeleteAction: Bool = true)