wec-front-pagination
v1.0.0
Published
import {Pagination} from 'wec-front-pagination';
Downloads
8
Readme
Quick Start
import {Pagination} from 'wec-front-pagination';
const pagination = new Pagination(opts = {});
paginatin.draw(count);
pagination.onQueryChange(callback);
access current state with pagination.current & pagination.pageSize