mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #3965 - Update for Galleria
This commit is contained in:
parent
ff695f200f
commit
3de20a4e55
5 changed files with 32 additions and 36 deletions
|
@ -18,7 +18,7 @@
|
|||
<li
|
||||
v-for="(item, index) of value"
|
||||
:key="`p-galleria-indicator-${index}`"
|
||||
:class="cx('indicator', { context: { index: index } })"
|
||||
:class="cx('indicator', { index })"
|
||||
tabindex="0"
|
||||
:aria-label="ariaPageLabel(index + 1)"
|
||||
:aria-selected="activeIndex === index"
|
||||
|
@ -27,6 +27,7 @@
|
|||
@mouseenter="onIndicatorMouseEnter(index)"
|
||||
@keydown="onIndicatorKeyDown($event, index)"
|
||||
v-bind="ptm('indicator')"
|
||||
:data-p-highlight="isIndicatorItemActive(index)"
|
||||
>
|
||||
<button v-if="!templates['indicator']" type="button" tabindex="-1" :class="cx('indicatorButton')"></button>
|
||||
<component v-if="templates.indicator" :is="templates.indicator" :index="index" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue