mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
fix(carousel): page attribute not updating shown items
This commit is contained in:
parent
7a4690ad28
commit
10378473cc
1 changed files with 6 additions and 0 deletions
|
@ -126,6 +126,12 @@ export default {
|
|||
},
|
||||
watch: {
|
||||
page(newValue) {
|
||||
if (newValue > this.d_page) {
|
||||
this.navForward({}, newValue);
|
||||
} else if (newValue < this.d_page) {
|
||||
this.navBackward({}, newValue);
|
||||
}
|
||||
|
||||
this.d_page = newValue;
|
||||
},
|
||||
circular(newValue) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue