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

Co-authored-by: Michał Kleszczyński <michal.kleszczynski@unitgroup.com>
This commit is contained in:
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

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.