Skip to content

ElectronTray.setImage method

ElectronTray › setImage

Unofficial

Sets the image associated with this tray icon.

Signature:

setImage(image: string | ElectronNativeImage): void

Parameters:

Parameter Type Description
image string | ElectronNativeImage The image to use as the tray icon.

Returns: void