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:

Parameter Type Description
overlay ElectronNativeImage | null The overlay image, or null to remove the overlay.
description string A description of the overlay for accessibility tools.

Returns: void