Refactor #2771
parent
e880a68eb1
commit
821f1f8b47
|
@ -78,7 +78,16 @@ export interface TimelineSlots {
|
||||||
/**
|
/**
|
||||||
* Custom connector template.
|
* Custom connector template.
|
||||||
*/
|
*/
|
||||||
connector: () => VNode[];
|
connector: (scope: {
|
||||||
|
/**
|
||||||
|
* Item data
|
||||||
|
*/
|
||||||
|
item: any;
|
||||||
|
/**
|
||||||
|
* Index of item
|
||||||
|
*/
|
||||||
|
index: number;
|
||||||
|
}) => VNode[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare type TimelineEmits = {
|
export declare type TimelineEmits = {
|
||||||
|
|
|
@ -201,7 +201,8 @@ export default {
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>connector</td>
|
<td>connector</td>
|
||||||
<td>-</td>
|
<td>item: Connector of the event<br />
|
||||||
|
index: Index of the event</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue