Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

114
Views
Vue-js sliding pagination

Problem statement :

I need to make a pagination, Issue which I am facing is that next button on first page is not working. If I go to second page, the next button works perfectly.

Can someone please explain what wrong I am doing and if you can suggest some articles on the subject of pagination.

This is my HTML :

<sliding-pagination
:current="currentPage"
:total="totalPages"
@page-change="pageChangeHandler"
></sliding-pagination>

This is my Vue :

import SlidingPagination from 'vue-sliding-pagination'

// in component or vue instance
components: {
  SlidingPagination
},
data() {
  return {
    currentPage: 1,
    totalPages: 10
  }
},
methods: {
  pageChangeHandler(selectedPage) {
    this.currentPage = selectedPage
  }
}  
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!