Package Exports
- react-pannable
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-pannable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-pannable
Simulate pan gesture and scroll view for touch devices with React
Getting started
Install react-pannable
using npm.
npm install --save react-pannable
API Reference
<Pannable />
- Can be panned(dragged) around with the touch/mouse
<Pad />
- Handles scrolling of content
<ItemContent />
- Displays data with the size best fits the specified size<GeneralContent />
- Similar toItemContent
and automatically resizes when the data change<ListContent />
- Displays data in a single column/row<GridContent />
- Displays data in grid layout
Examples
Some Pannable
demos
Some Pad
demos
- Scrollable Content
- Locating Specified Content
- Auto Resizing with Pad
- Layout with General Content
- Layout with Grid Content
- Layout with List Content
- Layout with Nested Content