ElectronBrowserWindow.getOpacity method
ElectronBrowserWindow › getOpacity
Unofficial
Returns the opacity of the window, between0.0 (fully transparent) and 1.0 (fully opaque). On Linux, always returns 1. Signature:
getOpacity(): numberReturns: number — The window opacity.