Add note on the requirement of paginate_by (#1403)

This commit is contained in:
Jakub Kozłowski 2021-03-11 19:35:54 +01:00 committed by GitHub
parent ba0c384602
commit 12c46a9d92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,8 @@ current_index: Number;
total_pages: Number;
```
**The variable will not be defined if `paginate_by` is not set to a positive number.**
A pager is a page of the pagination; if you have 100 pages and paginate_by is set to 10, you will have 10 pagers each
containing 10 pages.