iview/types/timeline.d.ts

34 lines
No EOL
716 B
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, { 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[];
};
}