1.1.0 • Published 7 years ago
boundless-pagination v1.1.0
THIS IS AN AUTOGENERATED FILE. EDIT INDEX.JS INSTEAD.
Pagination
View and navigate heterogenious content one page at a time.
Pagination is implemented as an encapsulated view system, accepting an array of items as input.
Component Instance Methods
When using Pagination
in your project, you may call the following methods on a rendered instance of the component. Use refs
to get the instance.
currentPage()
returns the one-indexed page number currently in viewpageToIndex(index: number)
renders the page that contains the zero-indexed item
Props
Note: only top-level props are in the README, for the full list check out the website.
Required Props
Optional Props
showPaginatedState={
(currentPage, totalPages) => (
<div className='foo'>
You're on page {currentPage} of {totalPages} pages!
</div>
)
}
```</td>
</tr>
<tr>
<td>toggleWrapperProps</td>
<td><pre><code>object</code></pre></td>
<td><pre><code class="language-js">{}</code></pre></td>
<td>any [React-supported attribute](https://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes); applied to the SegmentedControl node(s), `.b-pagination-controls`</td>
</tr>
</table>
1.1.0
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
1.0.0-beta.7
7 years ago
1.0.0-beta.6
7 years ago
1.0.0-beta.5
7 years ago
1.0.0-beta.4
7 years ago
1.0.0-beta.3
7 years ago