Skip to content

MenuBar

Menu bar component.

Props

AttributeDescriptionTypeDefault
optionsMenu optionsMenuBarOptions

Slots

Slot nameDescriptionArguments
prefixRendering slot in front of menu bar-
suffixThe rendering slot behind the menu bar-
PropertyDescriptionTypeDefault
miniSet whether the current menu bar is collapsed, default is false.booleanfalse
barPopDirection控制菜单栏一级子菜单弹出方向MenuPopDirection'bl'
...All other parameters inherit from MenuOptions--

Released under the MIT License.