Skip to content

Commit f409aa0

Browse files
authored
fix: add missing sourceEvent to vaadin-overlay-close event type (#10375)
1 parent 7962050 commit f409aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/overlay/src/vaadin-overlay.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type OverlayOpenEvent = CustomEvent<{ overlay: HTMLElement }>;
2323
* Fired when the opened overlay is about to be closed.
2424
* Calling `preventDefault()` on the event cancels the closing.
2525
*/
26-
export type OverlayCloseEvent = CustomEvent<{ overlay: HTMLElement }>;
26+
export type OverlayCloseEvent = CustomEvent<{ overlay: HTMLElement; sourceEvent?: Event }>;
2727

2828
/**
2929
* Fired after the overlay is closed.

0 commit comments

Comments
 (0)