Skip to content

Commit d3ec7f5

Browse files
committed
Update README.md
1 parent 62c529f commit d3ec7f5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ Vue.component('example-component', {
7777
| Name | Type | Description |
7878
| --- | --- | --- |
7979
| `data` | Object | An object containing the structure of a [Laravel paginator](https://laravel.com/docs/5.4/pagination) response. See below for default value. |
80-
| `limit` | Number | (optional) Limit of pages to be rendered. Default `0` (unlimited pages) `-1` will hide numeric pages and leave only arrow navigation. Any positive integer (e.g. `2`) will define how many pages should be shown on either side of the current page when only a range of pages are shown. ![screen shot 2018-01-12 at 4 47 50 pm](https://user-images.githubusercontent.com/203882/34885624-8001513e-f7b8-11e7-9922-236e2b07caa0.png) |
80+
| `limit` | Number | (optional) Limit of pages to be rendered. Default `0` (unlimited pages) `-1` will hide numeric pages and leave only arrow navigation. Any positive integer (e.g. `2`) will define how many pages should be shown on either side of the current page when only a range of pages are shown (see below for example output). |
81+
82+
**Default `data`**
8183

8284
```javascript
8385
{
@@ -93,6 +95,10 @@ Vue.component('example-component', {
9395
}
9496
```
9597

98+
**Example `limit`**
99+
100+
![screen shot 2018-01-12 at 4 47 50 pm](https://user-images.githubusercontent.com/203882/34885624-8001513e-f7b8-11e7-9922-236e2b07caa0.png)
101+
96102
### Events
97103

98104
| Name | Description |

0 commit comments

Comments
 (0)