Merge pull request #2770 from robbienohra/master

feat: bind event item to timeline custom connector slot
pull/2798/head
Tuğçe Küçükoğlu 2022-07-13 14:17:18 +03:00 committed by GitHub
commit 26ad0a6d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<slot name="marker" :item="item" :index="index">
<div class="p-timeline-event-marker"></div>
</slot>
<slot name="connector" v-if="index !== (value.length - 1)">
<slot name="connector" v-if="index !== (value.length - 1)" :item="item" :index="index">
<div class="p-timeline-event-connector"></div>
</slot>
</div>