Refactor #4211 - For Carousel & Galleria
parent
4f4496eec8
commit
25d40dd4e4
|
@ -64,7 +64,7 @@
|
||||||
:aria-label="ariaPageLabel(i + 1)"
|
:aria-label="ariaPageLabel(i + 1)"
|
||||||
:aria-current="d_page === i ? 'page' : undefined"
|
:aria-current="d_page === i ? 'page' : undefined"
|
||||||
@click="onIndicatorClick($event, i)"
|
@click="onIndicatorClick($event, i)"
|
||||||
v-bind="ptm('indicatorButton')"
|
v-bind="ptm('indicatorButton', getIndicatorPTOptions(i))"
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
v-bind="ptm('indicator', getIndicatorPTOptions(index))"
|
v-bind="ptm('indicator', getIndicatorPTOptions(index))"
|
||||||
:data-p-highlight="isIndicatorItemActive(index)"
|
:data-p-highlight="isIndicatorItemActive(index)"
|
||||||
>
|
>
|
||||||
<button v-if="!templates['indicator']" type="button" tabindex="-1" :class="cx('indicatorButton')" v-bind="ptm('indicatorButton')"></button>
|
<button v-if="!templates['indicator']" type="button" tabindex="-1" :class="cx('indicatorButton')" v-bind="ptm('indicatorButton', getIndicatorPTOptions(index))"></button>
|
||||||
<component v-if="templates.indicator" :is="templates.indicator" :index="index" />
|
<component v-if="templates.indicator" :is="templates.indicator" :index="index" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue