mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - Update for Carousel-OrgChart
This commit is contained in:
parent
d7272b8caa
commit
8467dd2a0d
4 changed files with 21 additions and 33 deletions
|
@ -19,12 +19,10 @@
|
|||
:key="index + '_scloned'"
|
||||
:class="
|
||||
cx('itemCloned', {
|
||||
context: {
|
||||
index,
|
||||
value,
|
||||
totalShiftedItems,
|
||||
d_numVisible
|
||||
}
|
||||
index,
|
||||
value,
|
||||
totalShiftedItems,
|
||||
d_numVisible
|
||||
})
|
||||
"
|
||||
v-bind="ptm('itemCloned')"
|
||||
|
@ -37,9 +35,7 @@
|
|||
:key="index"
|
||||
:class="
|
||||
cx('item', {
|
||||
context: {
|
||||
index
|
||||
}
|
||||
index
|
||||
})
|
||||
"
|
||||
role="group"
|
||||
|
@ -56,12 +52,10 @@
|
|||
:key="index + '_fcloned'"
|
||||
:class="
|
||||
cx('itemCloned', {
|
||||
context: {
|
||||
index,
|
||||
value,
|
||||
totalShiftedItems,
|
||||
d_numVisible
|
||||
}
|
||||
index,
|
||||
value,
|
||||
totalShiftedItems,
|
||||
d_numVisible
|
||||
})
|
||||
"
|
||||
v-bind="ptm('itemCloned')"
|
||||
|
@ -84,9 +78,7 @@
|
|||
:key="'p-carousel-indicator-' + i.toString()"
|
||||
:class="
|
||||
cx('indicator', {
|
||||
context: {
|
||||
i
|
||||
}
|
||||
i
|
||||
})
|
||||
"
|
||||
:data-p-highlight="d_page === i"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue