MenuItemBadge

external interface MenuItemBadge(source)

Properties

Link copied to clipboard
abstract external var content: String?

A custom string to display in the badge. Required for, and only usable with, the none type.

Link copied to clipboard
abstract external var count: Double?

The number of items the badge displays. Required for the alerts, updates and new-items types; cannot be used with none.

Link copied to clipboard
abstract external var type: MenuItemBadgeType?

Can be alerts, updates, new-items or none. Default is none. See Creating badges of a specific type for further explanation of these types.