docs: add reference to Apple docs

This commit is contained in:
John Kleinschmidt
2026-04-30 10:23:11 -04:00
committed by GitHub
parent a815b1d472
commit 1b3cf7685d

View File

@@ -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'`.