mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4433 - OverlayPanel
This commit is contained in:
parent
5a1ce104c5
commit
66cfbe54fc
3 changed files with 30 additions and 8 deletions
15
components/lib/overlaypanel/OverlayPanel.d.ts
vendored
15
components/lib/overlaypanel/OverlayPanel.d.ts
vendored
|
@ -191,6 +191,21 @@ export interface OverlayPanelEmits {
|
|||
* Callback to invoke when the overlay is hidden.
|
||||
*/
|
||||
hide(): void;
|
||||
/**
|
||||
* Custom container slot.
|
||||
* @param {Object} scope - container slot's params.
|
||||
*/
|
||||
container(scope: {
|
||||
/**
|
||||
* Close overlay panel function.
|
||||
*/
|
||||
onClose: () => void;
|
||||
/**
|
||||
* Close button keydown function.
|
||||
* @param {Event} event - Browser event
|
||||
*/
|
||||
onKeydown: (event: Event) => void;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue