Skip to content

ElectronBrowserWindow.getTrafficLightPosition method

ElectronBrowserWindow › getTrafficLightPosition

Unofficial

Returns the custom position for the traffic light buttons in a frameless window (macOS only).

Signature:

getTrafficLightPosition(): ElectronPoint

Returns: ElectronPointThe traffic light position.