Menu: DefineComponent<
ExtractPropTypes<
{
defaultValue: { default: null; type: PropType<null | string> };
modelValue: {
default: undefined;
type: PropType<undefined | null | string>;
};
orientation: {
default: "horizontal";
type: PropType<undefined | "horizontal" | "vertical">;
};
},
>,
() => VNode<RendererNode, RendererElement, { [key: string]: any }>,
{},
{},
{},
ComponentOptionsMixin,
ComponentOptionsMixin,
("select" | "update:modelValue")[],
"select" | "update:modelValue",
PublicProps,
ToResolvedProps<
ExtractPropTypes<
{
defaultValue: { default: null; type: PropType<null | string> };
modelValue: {
default: undefined;
type: PropType<undefined | null | string>;
};
orientation: {
default: "horizontal";
type: PropType<undefined | "horizontal" | "vertical">;
};
},
>,
("select" | "update:modelValue")[],
>,
{
defaultValue: null | string;
modelValue: 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>leaves and<MenuSubmenu>flyouts. The open submenu's value (from<MenuSubmenu value>) works uncontrolled or withv-model(a submenu value ornull), and activating a leaf item emitsselectwith(value, item, checked?).