Created
January 4, 2022 09:56
-
-
Save 12cassie34/87db817247417449ecc940b41c3fe6e5 to your computer and use it in GitHub Desktop.
Vue Pagination - Step 2-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
methods: { | |
changeCurrentPage(pageNumber) { | |
this.currentPage = pageNumber | |
}, | |
parseItemsPerPage() { | |
this.itemsPerPage = +this.itemsPerPage; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment