electron-badge
Electron badge works well for Windows
Installation
$ yarn add electron-badge
Usage
// main.js const Badge = ; { win = width: 800 height: 600; const badgeOptions = {}; win badgeOptions;}
// index.htmlipcRenderer; // To remove badgeipcRenderer; // or null
API
Badge options(Windows only)
Option Name | Default Value |
---|---|
color |
white |
backaground |
red |
fontSize |
12px |
fontFamily |
Arial |
fontWeight |
bold |
max |
99 |
License
MIT © Nghiep