Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbitron authored Jan 7, 2017
1 parent f49a9aa commit c72a946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Vue.component('pagination', require('laravel-vue-pagination'));
Use the component:

```html
<pagination :data="laravelData" :limit="3" v-on:pagination-change-page="getResults"></pagination>
<pagination :data="laravelData" v-on:pagination-change-page="getResults"></pagination>
```

```javascript
Expand Down Expand Up @@ -72,8 +72,8 @@ Vue.component('example-component', {

| Name | Type | Description |
| --- | --- | --- |
| `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. |
| `data` | Object | An object containing the structure of a [Laravel paginator](https://laravel.com/docs/5.3/pagination) response. See below for default value. |
| `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. |

```javascript
{
Expand Down

0 comments on commit c72a946

Please sign in to comment.