mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4211 - For Carousel
This commit is contained in:
parent
066f9caade
commit
dfef0ca9b5
2 changed files with 19 additions and 0 deletions
|
@ -239,6 +239,13 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
getIndicatorPTOptions(index) {
|
||||
return {
|
||||
context: {
|
||||
highlighted: index === this.d_page
|
||||
}
|
||||
};
|
||||
},
|
||||
step(dir, page) {
|
||||
let totalShiftedItems = this.totalShiftedItems;
|
||||
const isCircular = this.isCircular();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue