Skip to content

Commit

Permalink
small docs editing [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jul 21, 2019
1 parent 4baeade commit 389755b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/extras/items.md
Expand Up @@ -5,7 +5,7 @@ title: Items

Allow the client to request a custom number of items per page with an optional selector UI. It is useful with APIs or higly user-customizable apps.

It works also with the [countless](countless.md) and with the [elasticsearch_rails](elasticsearch_rails.md) extras.
It works also with the [countless](countless.md), [searchkick](searchkick.md) and [elasticsearch_rails](elasticsearch_rails.md) extras.

## Synopsis

Expand All @@ -24,12 +24,12 @@ Configure [javascript](../extras.md#javascript) (only if you use the `pagy_items

## Files

This extra is composed of the [items.rb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/items.rb) and may use the [pagy.js](https://github.com/ddnexus/pagy/blob/master/lib/javascripts/pagy.js) file.
- [items.rb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/items.rb)

## Variables

| Variable | Description | Default |
| -------------- | -------------------------------------------------------------------- | -------- |
|:---------------|:---------------------------------------------------------------------|:---------|
| `:items_param` | the name of the items param used in the url. | `:items` |
| `:max_items` | the max items allowed to be requested. Set it to `nil` for no limit. | `100` |

Expand Down

0 comments on commit 389755b

Please sign in to comment.