chore: bind item to timeline custom connector slot
parent
10e6a902ae
commit
313ef13d7e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue