Fixed #1453 - [OverlayPanel] add @show and @hide events

This commit is contained in:
Cagatay Civici 2021-09-06 12:04:01 +03:00
parent 9ecd219fb2
commit 0f4c9f0da8
4 changed files with 33 additions and 1 deletions

View file

@ -43,10 +43,22 @@ const OverlayPanelProps = [
}
];
const OverlayPanelEvents = [
{
name: "show",
description: "Callback to invoke before the overlay is shown."
},
{
name: "hide",
description: "Callback to invoke before the overlay is hidden."
},
];
module.exports = {
overlaypanel: {
name: "OverlayPanel",
description: "OverlayPanel is a container component positioned as connected to its target.",
props: OverlayPanelProps
props: OverlayPanelProps,
events: OverlayPanelEvents
}
};