iview/types/steps.d.ts

48 lines
1.1 KiB
TypeScript
Raw Normal View History

2018-08-30 13:27:15 +08:00
// Type definitions for iview 3.0.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from "vue";
2018-08-30 13:27:15 +08:00
export declare class Steps extends Vue {
/**
* 0
* @default 0
*/
current?: number;
/**
* waitprocessfinisherror
* @default process
*/
status?: 'wait' | 'process' | 'finish' | 'error';
/**
* small或者不写
*/
size?: '' | 'small';
/**
* horizontalvertical
* @default horizontal
*/
direction?: 'horizontal' | 'vertical';
}
2018-08-30 13:27:15 +08:00
export declare class Step extends Vue {
/**
* waitprocessfinisherror
* @default process
*/
status?: 'wait' | 'process' | 'finish' | 'error';
/**
*
* @default
*/
title?: string;
/**
*
*/
content?: string;
/**
*
*/
icon?: string;
}