README.md in volt-pagination-0.0.3 vs README.md in volt-pagination-0.0.4
- old
+ new
@@ -24,17 +24,17 @@
end
Then in your view you can add:
```html
-<:pagination total="{{ store._items.size }}" per_page="10" page="{{ params._page }}" />
+<:pagination total="{{ store._items.size }}" per_page="10" />
```
```per_page``` defaults to 10 and ```page``` defaults to params._page
The pagination tag supports the following options:
- total (required): the total number of items.
- per_page (default: 10): how many items per page.
-- page (default: ```params._page```): the number of the current page (starting with 1)
+- page-param-name (default: ```page```): the name of the page attribute stored in params (starting with 1)
- window (default: 5): the number of pages to show around the current page
- outer_window: (default: 1): the number of pages to show at the start and end of the pager.