-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
# useProgress | ||
|
||
进度管理工具 | ||
支持2. 计算百分比 0...100 3. 提供update方法更新进度4. 提供step能力,可以动态管理进度,但最终的finish需要明确告知5. 提供finish方法,允许开发者告知是否完成6. 提供状态isProgress开发者可以根据这个值判断boolean 7. 提供进度条描述文案 [{ value: 10, text: '111'}, { value: 20, text: '222' }] 8. 提供onChange option,当进度变化时,会将进度返回,开发者可以通过这个callback做其他额外处理 | ||
支持 | ||
|
||
1. 计算百分比 0...100 | ||
2. 提供update方法更新进度 | ||
3. 提供step能力,可以动态管理进度,但最终的finish需要明确告知 | ||
4. 提供finish方法,允许开发者告知是否完成 | ||
5. 提供状态isProgress开发者可以根据这个值判断boolean | ||
6. 提供进度条描述文案 [{ value: 10, text: '111'}, { value: 20, text: '222' }] | ||
7. 提供onChange option,当进度变化时,会将进度返回,开发者可以通过这个callback做其他额外处理 |