ElectronBrowserWindow.setOpacity method
ElectronBrowserWindow › setOpacity
Unofficial
Sets the opacity of the window. On Linux, does nothing. Out of bound values are clamped to the[0, 1] range. Signature:
setOpacity(opacity: number): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| opacity | number | The opacity value between 0.0 and 1.0. |
Returns: void