2019-01-01 12:13:51 +08:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
import { AntdComponent } from '../component';
|
|
|
|
import { TimelineItem } from './timeline-item';
|
2019-01-01 12:13:51 +08:00
|
|
|
|
|
|
|
export declare class Timeline extends AntdComponent {
|
2019-01-19 18:56:33 +08:00
|
|
|
static Item: typeof TimelineItem;
|
2019-01-01 12:13:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the last ghost node's existence or its content
|
|
|
|
* @default false
|
|
|
|
* @type any (boolean | string | slot)
|
|
|
|
*/
|
|
|
|
pending: any;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the dot of the last ghost node when pending is true
|
|
|
|
* @default <Icon type="loading" />
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
pendingDot: any;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* reverse nodes or not
|
|
|
|
* @default false
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
reverse: boolean;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* By sending alternate the timeline will distribute the nodes to the left and right.
|
|
|
|
* @default 'left'
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-01-12 11:33:27 +08:00
|
|
|
mode: 'left' | 'alternate' | 'right';
|
2019-01-01 12:13:51 +08:00
|
|
|
}
|