Badge
Configs
1
Configs
1Initial text to show in badge.
Properties
3
Properties
3Class hierarchy
Identifies an object as an instance of Badge class, or subclass thereof.
Misc
Get/sets and display badge, set to null or empty string to hide.
CSS variables
5
CSS variables
5| Name | Description |
|---|---|
--b-badge-font-size | Badge font size |
--b-badge-height | Badge height (also used as its min-width and border-radius, to ensure it is round for single digits) |
--b-badge-background | Badge background color |
--b-badge-color | Badge text color |
--b-badge-offset | Badge offset |