ElectronTray.setImage method
ElectronTray › setImage
Unofficial
Sets theimage associated with this tray icon. Signature:
setImage(image: string | ElectronNativeImage): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| image | string | ElectronNativeImage | The image to use as the tray icon. |
Returns: void