Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var CurrPage = 4;
- $('#pagination-long').materializePagination({
- align: 'center',
- lastPage: 10,
- firstPage: 1,
- currentPage:CurrPage,
- useUrlParameter: false,
- onClickCallback: function(requestedPage) {
- console.log('Requested page from #pagination-long: ' + requestedPage);
- }
- });
Add Comment
Please, Sign In to add comment