2021-05-12 09:35:29 +00:00
|
|
|
const MegaMenuProps = [
|
|
|
|
{
|
|
|
|
name: "modelValue",
|
|
|
|
type: "array",
|
|
|
|
default: "null",
|
|
|
|
description: "An array of menuitems."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "orientation",
|
|
|
|
type: "string",
|
|
|
|
default: "horizontal",
|
|
|
|
description: "Defines the orientation, valid values are horizontal and vertical."
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2021-05-17 11:58:53 +00:00
|
|
|
const MegaMenuSlots = [
|
|
|
|
{
|
|
|
|
name: "item",
|
|
|
|
description: "Template of a menuitem."
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2021-05-12 09:35:29 +00:00
|
|
|
module.exports = {
|
|
|
|
megamenu: {
|
|
|
|
name: "MegaMenu",
|
|
|
|
description: "MegaMenu is navigation component that displays submenus together.",
|
2021-05-17 11:58:53 +00:00
|
|
|
props: MegaMenuProps,
|
|
|
|
slots: MegaMenuSlots
|
2021-05-12 09:35:29 +00:00
|
|
|
}
|
|
|
|
};
|