struct MenuChromeRoot
Swift
struct MenuChromeRoot<Content> where Content : View
Wraps app content with an in-window menu strip when model is non-empty.
Sources/LavaUI/MenuBarView.swift:156
Constructors
init(model: MenuModel, onActivate: @escaping (MenuID) -> Void, style: MenuBarStyle = .standard(), content: Content)
Not documented.
Sources/LavaUI/MenuBarView.swift:164
Properties
var body: some View { get }
Not documented.
Sources/LavaUI/MenuBarView.swift:176
var content: Content
Not documented.
Sources/LavaUI/MenuBarView.swift:160
var model: MenuModel
Not documented.
Sources/LavaUI/MenuBarView.swift:157
var onActivate: (MenuID) -> Void
Not documented.
Sources/LavaUI/MenuBarView.swift:158
var style: MenuBarStyle
Not documented.
Sources/LavaUI/MenuBarView.swift:159