menu events added to docs

This commit is contained in:
Tuğçe Küçükoğlu 2021-11-17 16:10:49 +03:00
parent c59be4f6b2
commit ad8e7c357a
2 changed files with 37 additions and 0 deletions

View file

@ -37,6 +37,17 @@ const MenuProps = [
}
];
const MenuEvents = [
{
name: "show",
description: "Callback to invoke when the overlay is shown."
},
{
name: "hide",
description: "Callback to invoke when the overlay is hidden."
}
];
const MenuSlots = [
{
name: "item",
@ -49,6 +60,7 @@ module.exports = {
name: "Menu",
description: "Menu is a navigation / command component that supports dynamic and static positioning.",
props: MenuProps,
events: MenuEvents,
slots: MenuSlots
}
};