ElectronDock.setBadge method
ElectronDock › setBadge
Unofficial
Sets the string to be displayed in the dock's badging area. macOS only.Signature:
setBadge(text: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| text | string | The badge text. |
Returns: void