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

37 lines
860 B
JavaScript
Raw Normal View History

2021-05-12 09:35:29 +00:00
const PanelMenuProps = [
{
name: "model",
type: "array",
default: "null",
description: "An array of menuitems."
},
{
name: "expandedKeys",
type: "array",
default: "null",
description: "A map of keys to represent the expansion state in controlled mode."
2021-08-27 13:31:55 +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 PanelMenuSlots = [
{
name: "item",
description: "Template of a menuitem."
}
];
2021-05-12 09:35:29 +00:00
module.exports = {
panelmenu: {
name: "PanelMenu",
description: "PanelMenu is a hybrid of Accordion and Tree components",
2021-05-17 11:58:53 +00:00
props: PanelMenuProps,
slots: PanelMenuSlots
2021-05-12 09:35:29 +00:00
}
};