Menu: DefineComponent<
ExtractPropTypes<
{
open: {
default: undefined;
type: PropType<undefined | null | string>;
};
orientation: {
default: string;
type: PropType<undefined | "horizontal" | "vertical">;
};
},
>,
() => VNode<RendererNode, RendererElement, { [key: string]: any }>,
{},
{},
{},
ComponentOptionsMixin,
ComponentOptionsMixin,
("select" | "update:open")[],
"select" | "update:open",
PublicProps,
ToResolvedProps<
ExtractPropTypes<
{
open: {
default: undefined;
type: PropType<undefined | null | string>;
};
orientation: {
default: string;
type: PropType<undefined | "horizontal" | "vertical">;
};
},
>,
("select" | "update:open")[],
>,
{
open: undefined | null | string;
orientation: undefined | "horizontal" | "vertical";
},
{},
{},
{},
string,
ComponentProvideOptions,
true,
{},
any,
> = ...
Menubar / navigation menu with single-level submenus rendered in the top layer. Compose with
<MenuItem>; nest a flyout via thesubmenuslot. The open submenu works uncontrolled or withv-model:open(a submenu value ornull), and activating a leaf item emitsselectwith its value.