ngx-table-pagination
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "ngx-table-pagination", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Pagination for angular", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -99,2 +99,3 @@ # Pagination for Angular [![Build Status](https://travis-ci.org/michaelbromley/ngx-pagination.svg?branch=master)](https://travis-ci.org/michaelbromley/ngx-pagination) | ||
<some-element *ngFor="let item of collection | paginate: { id: 'foo', | ||
itemsPerPage:10 | ||
currentPage: p, | ||
@@ -105,3 +106,2 @@ totalItems: total }">...</some-element> | ||
- **`currentPage`** [`number`] - **required** The current (active) page number. | ||
@@ -108,0 +108,0 @@ - **`id`** [`string`] If you need to support more than one instance of pagination at a time, set the `id` and ensure it |
310461