Tag
<gstock-tag>
|
GstockTag
API
Propiedades
| Nombre | Descripción | Reflects | Tipo | Por defecto |
|---|---|---|---|---|
color
|
Color of the tag. |
|
'neutral' | 'blue' | 'green' | 'red' | 'yellow'
|
'neutral'
|
href
|
Indicates a url to go to if the component is clicked. |
|
string
|
-
|
label
|
Alternative tag for component accessibility. |
string
|
''
|
|
rounded
|
Indicates if the tag is rounded. |
|
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 tag’s content. |
Aprende más sobre slots .
Partes
| Nombre | Descripción |
|---|---|
base
|
The component’s base wrapper. |
link
|
The link wrapper if the tag is clickable. |
Aprende más sobre partes CSS .