Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The getTitlebarAreaRect()
method of the WindowControlsOverlay
interface queries the current geometry of the title bar area of the Progressive Web App window.
This only applies to Progressive Web Apps installed on desktop operating systems and which use the Window Controls Overlay API.