iview/types/steps.d.ts

48 lines
No EOL
1.1 KiB
TypeScript
Raw Permalink 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.3.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
export declare class Steps extends Vue {
/**
* 当前步骤,从 0 开始计数
* @default 0
*/
current?: number;
/**
* 当前步骤的状态可选值为wait、process、finish、error
* @default process
*/
status?: 'wait' | 'process' | 'finish' | 'error';
/**
* 步骤条的尺寸可选值为small或者不写
*/
size?: '' | 'small';
/**
* 步骤条的方向可选值为horizontal水平或vertical垂直
* @default horizontal
*/
direction?: 'horizontal' | 'vertical';
}
export declare class StepsStep extends Vue {
/**
* 步骤的状态可选值为wait、process、finish、error不设置时自动判断
* @default process
*/
status?: 'wait' | 'process' | 'finish' | 'error';
/**
* 标题
* @default 空
*/
title?: string;
/**
* 步骤的详细描述,可选
*/
content?: string;
/**
* 步骤的图标,可选
*/
icon?: string;
}