0.0.11 • Published 7 years ago

@pinyin/list-view v0.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

list-view

Build Status

A list view with animation & virtualization support.

Install

npm install @pinyin/list-view --save

Demo

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