primevue-mirror/api-generator/components/megamenu.js

37 lines
876 B
JavaScript
Raw Normal View History

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-08-27 12:58:54 +00:00
},
{
name: "exact",
type: "boolean",
default: "true",
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2021-05-12 09:35:29 +00:00
}
];
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
}
};