pagiinator
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Pagiinator

NPM downloads

A highly customizable pagination component library.

By installing this component and writing only a little bit of CSS you can obtain this:

Pagination demo 1

or

Pagination demo 2

Installation

Install pagiinator with npm:

npm install pagiinator --save

In your App Module add:

import { VjPaginatorModule } from 'pagiinator';

Demo

Pagination demo

Props

Name Type Description
items Number Required. Array of data to be paginated
maxPages Number Required. The range of pages displayed.
pageSize Number Required. The number of items to display per page.
textColor String Color of the text.
bgColor String Background color for active page.
position Node Position on page ('left', 'center', 'right').
changePage Function The method to call when a page is clicked. Exposes the current page object as an argument.

Readme

Keywords

none

Package Sidebar

Install

npm i pagiinator

Weekly Downloads

1

Version

1.0.0

License

none

Unpacked Size

91.8 kB

Total Files

17

Last publish

Collaborators

  • bolorundurovb