BadgeCount API
Purpose
Display a number on the application icon in the desktop tray... usually to indicate number of unread messages for given application. for example...
SSF API
using ssf name space
ssf.setBadgeCount(Number);
Sets the badge count to the given value. Â Value should be greater than or equal to zero. Â Settings a zero value will remove the count.
Implementation
In electron for mac this is provided by existing electron api:Â https://electron.atom.io/docs/api/app/#appsetbadgecountcount-linux-macos
In electron for windows this requires using overlay icon api:Â https://electron.atom.io/docs/api/browser-window/#winsetoverlayiconoverlay-description-windows
For example implementation see:Â
Need help? Email help@finos.org
we'll get back to you.
Content on this page is licensed under the CC BY 4.0 license.
Code on this page is licensed under the Apache 2.0 license.