iview/dist/types/progress.d.ts
2018-09-03 13:28:21 +08:00

47 lines
928 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue';
export declare interface Progress extends Vue {
/**
* 百分比
* @default 0
*/
percent?: number;
/**
* 状态可选值为normal、active、wrong、success
* @default normal
*/
status?: 'normal'|'active'|'wrong'|'success';
/**
* 进度条的线宽,单位 px
* @default 10
*/
'stroke-width'?: number;
/**
* 隐藏数值或状态图标
* @default false
*/
'hide-info'?: boolean;
/**
* 是否在垂直方向显示
* @default false
*/
vertical?: boolean;
/**
* 已完成的分段百分比
* @default 0
*/
'success-percent'?: number;
/**
* slot插槽对象
*/
$slots: {
/**
* 自定义显示状态内容
*/
'': VNode[];
};
}