Skip to content

Commit c72a946

Browse files
authored
Update README.md
1 parent f49a9aa commit c72a946

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Vue.component('pagination', require('laravel-vue-pagination'));
2828
Use the component:
2929

3030
```html
31-
<pagination :data="laravelData" :limit="3" v-on:pagination-change-page="getResults"></pagination>
31+
<pagination :data="laravelData" v-on:pagination-change-page="getResults"></pagination>
3232
```
3333

3434
```javascript
@@ -72,8 +72,8 @@ Vue.component('example-component', {
7272

7373
| Name | Type | Description |
7474
| --- | --- | --- |
75-
| `limit` | Number | Limit of pages to be rendered. Default `0` (unlimited links) `-1` will hide numeric pages and leave only arrow navigation. `3` will show 3 previous and 3 next numeric pages from current page. |
7675
| `data` | Object | An object containing the structure of a [Laravel paginator](https://laravel.com/docs/5.3/pagination) response. See below for default value. |
76+
| `limit` | Number | (optional) Limit of pages to be rendered. Default `0` (unlimited links) `-1` will hide numeric pages and leave only arrow navigation. `3` will show 3 previous and 3 next numeric pages from current page. |
7777

7878
```javascript
7979
{

0 commit comments

Comments
 (0)