Web platform features explorer

CloseWatcher

The CloseWatcher API listens and responds to close requests on in-page components, such as modals, popovers, and sidebars.

Status

Limited availability

MDN documentation

Browser support

  • Chrome 126 Released on 2024-06-11
  • Chrome Android 126 Released on 2024-06-11
  • Edge 126 Released on 2024-06-13
  • Firefox
  • Firefox for Android
  • Safari Vendor position : neutral
  • Safari on iOS Vendor position : neutral

Usage (according to Chrome Platform Status)

~0.012% of page loads. More data at chromestatus.com.

Developer votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.