Typography
<gstock-typography>
|
GstockTypography
API
Propiedades
| Nombre | Descripción | Reflects | Tipo | Por defecto |
|---|---|---|---|---|
color
|
The color of the typography. |
|
'primary' | 'secondary' | 'tertiary' | 'success' | 'danger' |
undefined
|
-
|
heading
|
The heading level to use the typography. |
|
'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | undefined
|
-
|
size
|
The size of the typography. |
|
'small' | 'xsmall' | 'medium' | 'large'
|
-
|
weight
|
The weight of the typography. |
|
'normal' | 'bold' | 'bolder' | 'lighter' | '100' | '200' | '300' |
'400' | '500' | '600' | '700' | '800' | '900' | undefined
|
'normal'
|
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 content of the typography. |
Aprende más sobre slots .
Partes
| Nombre | Descripción |
|---|---|
base
|
The component’s base wrapper. |
Aprende más sobre partes CSS .