mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
docs: add reference to Apple docs
This commit is contained in:
committed by
GitHub
parent
a815b1d472
commit
1b3cf7685d
@@ -1,5 +1,5 @@
|
||||
# MenuItemBadge Object
|
||||
|
||||
* `type` string (optional) - Can be `alerts`, `updates`, `new-items` or `none`. Default is `none`.
|
||||
* `type` string (optional) - Can be `alerts`, `updates`, `new-items` or `none`. Default is `none`. See https://developer.apple.com/documentation/appkit/nsmenuitembadge#Creating-badges-of-a-specific-type for further explanation of these types.
|
||||
* `count` number (optional) - The number of items the badge displays. Cannot be used with `type: 'none'`.
|
||||
* `content` string (optional) - A custom string to display in the badge. Only usable with `type: 'none'`.
|
||||
|
||||
Reference in New Issue
Block a user