34 lines
No EOL
716 B
TypeScript
34 lines
No EOL
716 B
TypeScript
// 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, { VNode } from 'vue';
|
||
|
||
export declare class Timeline extends Vue {
|
||
/**
|
||
* 指定是否最后一个节点为幽灵节点
|
||
* @default false
|
||
*/
|
||
pending?: boolean;
|
||
}
|
||
|
||
export declare class TimelineItem extends Vue {
|
||
/**
|
||
* 圆圈颜色,可选值为blue、red、green,或自定义色值
|
||
* @default blue
|
||
*/
|
||
color?: 'blue' | 'red' | 'green' | string;
|
||
/**
|
||
* slot插槽对象
|
||
*/
|
||
$slots: {
|
||
/**
|
||
* 基本内容
|
||
*/
|
||
'': VNode[];
|
||
/**
|
||
* 自定义时间轴点内容
|
||
*/
|
||
dot: VNode[];
|
||
};
|
||
} |