Skip to content

ElectronBrowserWindow.setBackgroundColor method

ElectronBrowserWindow › setBackgroundColor

Unofficial

Sets the background color of the window.

Signature:

setBackgroundColor(backgroundColor: string): void

Parameters:

Parameter Type Description
backgroundColor string The CSS color value.

Returns: void