mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #1453 - [OverlayPanel] add @show and @hide events
This commit is contained in:
parent
9ecd219fb2
commit
0f4c9f0da8
4 changed files with 33 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue