list-view
A list view with animation & virtualization support.
Install
npm install @pinyin/list-view --save
Usage
import {ListView} from '@pinyin/list-view'
<ListView range={{from: xxx, to: xxx}}>
// Elements
</ListView>
The <ListView>
component roughly accepts the same props as a div
, with a few differences.
For more information, please see the source code of the demo.
Limits
Some passed styles will be ignored.
Demo
Infinite scrolling component implemented with this component
Or clone this repo and run npm run demo
at its root directory to open a local demo.
License
MIT