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

1.0.2 • Public • Published

VB-Paginator

NPM downloads

An Angular component to render a pagination.

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 vb-paginator with npm:

npm install vb-paginator --save

In your App Module add:

import { VjPaginatorModule } from 'vb-paginator';

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 vb-paginator

Weekly Downloads

1

Version

1.0.2

License

none

Unpacked Size

181 kB

Total Files

26

Last publish

Collaborators

  • bolorundurovb