1.0.2 • Published 3 years ago

vb-paginator v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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:

or

Installation

Install vb-paginator with npm:

npm install vb-paginator --save

In your App Module add:

import { VjPaginatorModule } from 'vb-paginator';

Demo

Props

NameTypeDescription
itemsNumberRequired. Array of data to be paginated
maxPagesNumberRequired. The range of pages displayed.
pageSizeNumberRequired. The number of items to display per page.
textColorStringColor of the text.
bgColorStringBackground color for active page.
positionNodePosition on page ('left', 'center', 'right').
changePageFunctionThe method to call when a page is clicked. Exposes the current page object as an argument.
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago