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