Badge
<gstock-badge>
|
GstockBadge
API
Propiedades
| Nombre | Descripción | Reflects | Tipo | Por defecto |
|---|---|---|---|---|
size
|
The size of the badge. |
|
'small' | 'medium' | 'large'
|
'medium'
|
color
|
The color of the badge. |
|
'brand' | 'neutral' | 'information' | 'success' | 'warning' | 'danger'
|
'brand'
|
placement
|
The placement of the badge when used as an overlay inside a positioned container. |
|
'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | undefined
|
-
|
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 .