Refactor #4433 - OverlayPanel

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-19 13:23:50 +03:00
parent 5a1ce104c5
commit 66cfbe54fc
3 changed files with 30 additions and 8 deletions

View file

@ -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[];
}
/**