1.0.7 • Published 1 year ago

px-jquery-pagination v1.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
1 year ago

description

It provides visuality and ease of use to the Laravel Pagination process.

description TR

Laravel Pagination işlemine görselik ve kullanım kolaylığı sağlar.

install

npm i jquery npm i px-jquery-pagination

css

@import "~px-jquery-pagination/px-pagination.css";

html

\<div class="mypages">\</div>

javascript - jquery

require('px-jquery-pagination');

init

$(".mypages").pagination({ currentpage: 1, totalPageCount: 45, maxBtnCount: 5, align: 'center', nextPrevBtnShow: true, firstLastBtnShow: true, prevPageName: '<', nextPageName: '>', lastPageName: '<<', firstPageName: '>>', callback: function(pagenumber){ console.log(pagenumber); } });

notes:

currentpage: default clicked page number on initial load totalPageCount: total number of pages maxBtnCount: number of page buttons to display align: button layout (left OR center OR right) nextPrevBtnShow: display of previous and next buttons firstLastBtnShow: display of last and first buttons callback: callback function return the page number selected in the parameter

view:

alt text

1.0.7

1 year ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago