Badge
<gstock-badge>
|
GstockBadge
API
Propiedades
| Nombre | Descripción | Reflects | Tipo | Por defecto |
|---|---|---|---|---|
empty
|
Show empty badge. |
boolean
|
false
|
|
size
|
The size of the badge. |
|
'small' | 'medium' | 'large'
|
'medium'
|
color
|
The color of the badge. |
|
'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' |
'danger'
|
'primary'
|
pulse
|
Makes the badge pulsate to draw attention. |
|
boolean
|
false
|
updateComplete
|
A read-only promise that resolves when the component has finished updating. |
Aprende más sobre atributos y propiedades .
Slots
| Nombre | Descripción |
|---|---|
default
|
The badge’s content. |
Aprende más sobre slots .
Partes
| Nombre | Descripción |
|---|---|
base
|
The component’s base wrapper. |
Aprende más sobre partes CSS .