chore: bind item to timeline custom connector slot

pull/2770/head
Robbie Nohra 2022-07-12 20:27:25 -04:00
parent 10e6a902ae
commit 313ef13d7e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<slot name="marker" :item="item" :index="index"> <slot name="marker" :item="item" :index="index">
<div class="p-timeline-event-marker"></div> <div class="p-timeline-event-marker"></div>
</slot> </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> <div class="p-timeline-event-connector"></div>
</slot> </slot>
</div> </div>