Skip to content

Commit

Permalink
Merge pull request #379 from MathieuLavigneOpen/master
Browse files Browse the repository at this point in the history
maxSize minimum is 5
  • Loading branch information
michaelbromley committed Aug 5, 2021
2 parents a0f1e2a + a1f782d commit 2458371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ matches the id set in the PaginatePipe config.
* **`pageChange`** [`event handler`] The expression specified will be invoked whenever the page changes via a click on one of the
pagination controls. The `$event` argument will be the number of the new page. This should be used to update the value of the `currentPage` variable which was passed to the `PaginatePipe`.
* **`pageBoundsCorrection`** [`event handler`] The expression specified will be invoked when the `currentPage` value is found to be out-of-bounds (e.g. the collection size was reduced). The `$event` argument will be the number of the closest valid page.
* **`maxSize`** [`number`] Defines the maximum number of page links to display. Default is `7`.
* **`maxSize`** [`number`] Defines the maximum number of page links to display. Default is `7`. Minimum is `5`.
* **`directionLinks`** [`boolean`] If set to `false`, the "previous" and "next" links will not be displayed. Default is `true`.
* **`autoHide`** [`boolean`] If set to `true`, the pagination controls will not be displayed when all items in the
collection fit onto the first page. Default is `false`.
Expand Down

0 comments on commit 2458371

Please sign in to comment.