Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hhff/ember-infinity into customiz…
Browse files Browse the repository at this point in the history
…e-pagination-params
  • Loading branch information
Mike North committed May 20, 2015
2 parents 4c3467b + b9f9429 commit c37a5fe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ Now, whenever the `infinity-loader` is in view, it will send an action to the ro

When the new records are loaded, they will automatically be pushed into the Model array.

#### JSON Response

The response provided by your server should include the number of total pages.

```json
{ "meta": { "total_pages": 4 } }
```

If your query returns 20 objects, and you're showing 6 per page, then the
number of total pages would be 4.

## Advanced Usage

### infinityModel
Expand Down

0 comments on commit c37a5fe

Please sign in to comment.