mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
ion-badge
Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are.
Properties
color
string
The color the badge should be
mode
string
The mode determines which platform styles to use.
Possible values are: "ios" or "md".
Attributes
color
string
The color the badge should be
mode
string
The mode determines which platform styles to use.
Possible values are: "ios" or "md".
Built with StencilJS