pagerz
v0.1.0
Published
Library of Generic Paging UIs
Downloads
1
Readme
pagerz
An infinite paging library.
Usage
Available on npm, include as a dependency using npm install --save pagerz
<Pager getPage={pagedFunctionThatReturnsAPromise} currentPage={1} lastPage={10} firstPage={0}>
<ChildToRenderForEachThing resource={resourceFromPager}/>
</Pager>
<ScrollingPager getPage={pagedFunctionThatReturnsAPromise} currentPage={1} lastPage={10} firstPage={0}>
<ChildToRenderForEachThing resource={resourceFromPager}/>
</ScollingPager>
Supported Properties
Module name
| property | default | effect |
|----------|:-------:|--------|
| name | defaultValue
| short description |
Contributing
See CONTRIBUTING.md
License
Copyright 2015 by The Zooniverse. Licensed under the Apache Public License v2. See LICENSE for details.