mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
920 B
920 B
Progress
I have no words to say but there still should be a placeholder to make layout looks spread.
Demos
circle
line
multiple-circle
custom-indicator
color
no-indicator
Props
Name | Type | Default | Description |
---|---|---|---|
processing | boolean |
false |
|
type | 'line' | 'circle' | 'multiple-circle' |
line |
|
status | 'default' | 'success' | 'error' | 'warning' | 'info' |
'default' |
|
rail-color | string | Array<string> |
null |
|
color | string | Array<string> |
null |
|
stroke-width | number |
7 |
|
percentage | number | Array<number> |
0 |
|
unit | string |
% |
|
show-indicator | boolean |
true |
|
indicator-placement | 'inside' | 'inside-label' | 'outside' |
'outside' |
|
indicator-text-color | string |
null |
|
circle-gap | number |
1 |
The gap bewteen circles when type is 'multiple-circle' |
Slots
Name | Parameters | Description |
---|---|---|
default | () |
Conent will replace indicatior |