Limited Availability
id: closewatcher
CloseWatcher
The
CloseWatcher API listens and responds to close requests on in-page components, such as modals, popovers, and sidebars.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
126
Supported
Mozilla Firefox
149
Supported
Apple Safari
—
Unsupported
Microsoft Edge
126
Supported
Mobile Browser Engine Support
Chrome Android
126
Firefox Android
149
Safari iOS
—
Specifications and References