Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
8c2afa57
Commit
8c2afa57
authored
Mar 26, 2018
by
杨奕
Committed by
GitHub
Mar 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Progress: update docs for color prop (#10358)
parent
5d6fe5eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
examples/docs/en-US/progress.md
examples/docs/en-US/progress.md
+1
-1
examples/docs/es/progress.md
examples/docs/es/progress.md
+1
-0
examples/docs/zh-CN/progress.md
examples/docs/zh-CN/progress.md
+2
-2
types/progress.d.ts
types/progress.d.ts
+3
-0
No files found.
examples/docs/en-US/progress.md
View file @
8c2afa57
...
...
@@ -59,6 +59,6 @@ In this case the percentage takes no additional space.
| stroke-width | the width of progress bar | number | — | 6 |
| text-inside | whether to place the percentage inside progress bar, only works when
`type`
is 'line' | boolean | — | false |
| status | the current status of progress bar | string | success/exception | — |
| color |
the color of progress bar, can override the color of the current status
| string | — | — |
| color |
background color of progress bar. Overrides
`status`
prop
| string | — | — |
| width | the canvas width of circle progress bar | number | — | 126 |
| show-text | whether to show percentage | boolean | — | true |
examples/docs/es/progress.md
View file @
8c2afa57
...
...
@@ -57,5 +57,6 @@ En este caso el porcentage no toma espacio adicional.
| stroke-width | ancho de la barra de progreso | number | — | 6 |
| text-inside | mostrar el porcentaje dentro de la barra de progreso, solo funciona cuando
`type`
es 'line' | boolean | — | false |
| status | estado actual de la barra de progreso | string | success/exception | — |
| color | background color of progress bar. Overrides
`status`
prop | string | — | — |
| width | ancho del canvas que contiene la barra de progreso circula | number | — | 126 |
| show-text | mostrar porcentaje | boolean | — | true |
examples/docs/zh-CN/progress.md
View file @
8c2afa57
...
...
@@ -61,8 +61,8 @@
|
**percentage**
|
**百分比(必填)**
| number | 0-100 | 0 |
| type | 进度条类型 | string | line/circle | line |
| stroke-width | 进度条的宽度,单位 px | number | — | 6 |
| text-inside | 进度条显示文字内置在进度条内(只在 type=line 时可用) |
B
oolean | — | false |
| text-inside | 进度条显示文字内置在进度条内(只在 type=line 时可用) |
b
oolean | — | false |
| status | 进度条当前状态 | string | success/exception | — |
| color | 进度条
颜色(自定义时
会覆盖 status 状态颜色) | string | — | — |
| color | 进度条
背景色(
会覆盖 status 状态颜色) | string | — | — |
| width | 环形进度条画布宽度(只在 type=circle 时可用) | number | | 126 |
| show-text | 是否显示进度条文字内容 | boolean | — | true |
types/progress.d.ts
View file @
8c2afa57
...
...
@@ -20,6 +20,9 @@ export declare class ElProgress extends ElementUIComponent {
/** The current status of progress bar */
status
:
ProgressStatus
/** Background color of progress bar. Overrides `status` prop */
color
:
string
/** The canvas width of circle progress bar */
width
:
number
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment