Comments (1)
Since "total-items" is part of your model, you can add it a watcher to see what's happening. These lines should do what you need:
watch: {
totalItems() {
console.log('Has changed!')
}
<script>
export default {
name: 'hello',
data() {
return {
msg: 'Welcome to Your Vue.js App',
totalItems: 129,
pagination: {
currentPage: 1
}
}
},
methods: {
fetch() {
console.log(this.pagination.currentPage)
}
},
watch: {
totalItems() {
console.log('Has changed!')
}
}
}
</script>
from vuejs-uib-pagination.
Related Issues (13)
- '›' can't be unescaped to HTML HOT 4
- how can i change the text on the button like previousText HOT 1
- Add "page-label" property support to render raw html HOT 5
- Could not find a declaration file for module 'vuejs-uib-pagination'. HOT 5
- is there any way to change pagination color dynamically HOT 3
- How to apply the pagination HOT 4
- Vue.js 3 support
- How to add button text as Prev and Next HOT 1
- [error] The build requres template compiler in project HOT 1
- Implement html-loader for better dev experience
- Change event fired when no "currentPage" is set.
- Incorrect use of role attribute on page list items HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuejs-uib-pagination.