Spinner
<gstock-spinner>
|
GstockSpinner
API
Propiedades
| Nombre | Descripción | Reflects | Tipo | Por defecto |
|---|---|---|---|---|
determinate
|
When true, percentage is ignored and the progress bar is drawn in an indeterminate state. Use the value to set the quantity of bar that you want to see will moving. |
|
boolean
|
false
|
label
|
A custom label for assistive devices. |
string
|
''
|
|
value
|
The current progress as a percentage, 0 to 100. |
|
number
|
25
|
size
|
The size of the spinner. |
|
'small' | 'medium' | 'large'
|
'medium'
|
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
|
A label to show inside the ring. |
Aprende más sobre slots .
Propiedades personalizadas
| Nombre | Descripción | Default |
|---|---|---|
--track-width
|
The width of the track. | |
--indicator-transition-duration
|
The duration of the indicator transition. | |
--percentage
|
The percentage of the progress bar. |
Aprende más sobre propiedades personalizadas .
Partes
| Nombre | Descripción |
|---|---|
base
|
The component’s base wrapper. |
label
|
The spinner label. |
Aprende más sobre partes CSS .