Skip to content

ElectronBrowserWindow.getOpacity method

ElectronBrowserWindow › getOpacity

Unofficial

Returns the opacity of the window, between 0.0 (fully transparent) and 1.0 (fully opaque). On Linux, always returns 1.

Signature:

getOpacity(): number

Returns: numberThe window opacity.