struct MenuBarStrip
Swift
struct MenuBarStrip
Top-level titles in a fixed-height strip; each opens a dropdown overlay.
Sources/LavaUI/MenuBarView.swift:192
Constructors
init(model: MenuModel, openMenuID: Binding<MenuID?>, onActivate: @escaping (MenuID) -> Void, style: MenuBarStyle = .standard(), icons: [MenuID : UIImage] = [:])
Not documented.
Sources/LavaUI/MenuBarView.swift:201
Properties
var body: some View { get }
Not documented.
Sources/LavaUI/MenuBarView.swift:215
var icons: [MenuID : UIImage]
Already-decoded pictures for icon titles, keyed by menu id. A
MenuIcon.path is used when this has nothing for that id.
Sources/LavaUI/MenuBarView.swift:199
var model: MenuModel
Not documented.
Sources/LavaUI/MenuBarView.swift:193
var onActivate: (MenuID) -> Void
Not documented.
Sources/LavaUI/MenuBarView.swift:195
var openMenuID: Binding<MenuID?>
Not documented.
Sources/LavaUI/MenuBarView.swift:194
var style: MenuBarStyle
Not documented.
Sources/LavaUI/MenuBarView.swift:196