pull/2798/head
Tuğçe Küçükoğlu 2022-07-13 14:21:28 +03:00
parent e880a68eb1
commit 821f1f8b47
2 changed files with 12 additions and 2 deletions

View File

@ -78,7 +78,16 @@ export interface TimelineSlots {
/**
* Custom connector template.
*/
connector: () => VNode[];
connector: (scope: {
/**
* Item data
*/
item: any;
/**
* Index of item
*/
index: number;
}) => VNode[];
}
export declare type TimelineEmits = {

View File

@ -201,7 +201,8 @@ export default {
</tr>
<tr>
<td>connector</td>
<td>-</td>
<td>item: Connector of the event<br />
index: Index of the event</td>
</tr>
</tbody>
</table>