SwProgress
Индикатор прогресса: линия или круг (circle).
Свойства / Properties
| Имя | Тип | По умолчанию | Описание |
|---|---|---|---|
percentage | Number | 0 | 0–100. |
type | String | primary | Цвет полосы. |
circle | Boolean | false | Круговой режим. |
width | Number | 120 | Диаметр круга (px). |
strokeWidth | Number | 6 | Толщина (px). |
showText | Boolean | true | Показать процент / текст. |
text | String | `` | Свой текст вместо %. |
indeterminate | Boolean | false | Неопределённый прогресс. |
class | String | `` | CSS-класс. |
Пример
<sw-progress :percentage="64" type="primary" />
<sw-progress :percentage="40" circle type="success" />
<sw-progress indeterminate />