fix #5058: expose alignOverlay method in OverlayPanel (#5072)

Co-authored-by: Michał Kleszczyński <michal.kleszczynski@unitgroup.com>
pull/5098/head
Michał Kleszczyński 2024-01-12 10:37:02 +01:00 committed by GitHub
parent 65339ea26e
commit 346cbeaba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,10 @@ export interface OverlayPanelEmits {
* @group Component
*/
declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPanelSlots, OverlayPanelEmits> {
/**
* Aligns overlay panel based on the current position of the container.
*/
alignOverlay(): void;
/**
* Toggles the visibility of the overlay.
* @param {Event} event - Browser event.