Get to know MDN better
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The WindowControlsOverlayGeometryChangeEvent interface of the Window Controls Overlay API is passed to geometrychange when the size or visibility of a desktop Progress Web App's title bar region changes.
Event WindowControlsOverlayGeometryChangeEventCreates a WindowControlsOverlayGeometryChangeEvent event with the given parameters.
Also inherits properties from its parent Event.
WindowControlsOverlayGeometryChangeEvent.titlebarAreaRect Read onlyA DOMRect representing the position and size of the title bar region.
WindowControlsOverlayGeometryChangeEvent.visible Read onlyA Boolean that indicates whether the window controls overlay is visible or not.
The following example shows how to use a WindowControlsOverlayGeometryChangeEvent instance by adding an event handler on the Navigator.windowControlsOverlay property, to listen to geometry changes of a PWA's title bar region.
| Window Controls Overlay # windowcontrolsoverlay-interface |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Dec 10, 2023 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.