feat(loading-bar): add configurable duration property
This commit is contained in:
parent
f0de3cc7a9
commit
c82c4bb8a9
2 changed files with 10 additions and 1 deletions
5
types/loading-bar.d.ts
vendored
5
types/loading-bar.d.ts
vendored
|
@ -41,6 +41,11 @@ export declare interface LoadingBarConfig {
|
|||
* @default primary
|
||||
*/
|
||||
color?: string;
|
||||
/**
|
||||
* 自动消失的延时, 默认为800ms
|
||||
* @default 800
|
||||
*/
|
||||
duration?: number;
|
||||
/**
|
||||
* 失败时的进度条颜色,默认为 iView 主色
|
||||
* @default error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue