Pages route change - api generator added

This commit is contained in:
Bahadir Sofuoglu 2022-09-12 10:13:52 +03:00
parent 28b8e0a7e0
commit 3eac7d6658
179 changed files with 10592 additions and 5 deletions

View file

@ -0,0 +1,44 @@
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."
},
{
name: "exact",
type: "boolean",
default: "true",
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
}
];
const MegaMenuSlots = [
{
name: "start",
description: "Custom content before the content"
},
{
name: "end",
description: "Custom content after the content"
},
{
name: "item",
description: "Template of a menuitem."
}
];
module.exports = {
megamenu: {
name: "MegaMenu",
description: "MegaMenu is navigation component that displays submenus together.",
props: MegaMenuProps,
slots: MegaMenuSlots
}
};