Skip to content

ElectronBrowserWindow.setOverlayIcon method

ElectronBrowserWindow › setOverlayIcon

Unofficial

Sets a 16 x 16 pixel overlay onto the current taskbar icon (Windows only).

Signature:

setOverlayIcon(overlay: ElectronNativeImage | null, description: string): void

Parameters:

ParameterTypeDescription
overlayElectronNativeImage | nullThe overlay image, or null to remove the overlay.
descriptionstringA description of the overlay for accessibility tools.

Returns: void