@pinyin/list-view
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

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

Package Sidebar

Install

npm i @pinyin/list-view

Weekly Downloads

0

Version

0.0.11

License

MIT

Unpacked Size

30.4 kB

Total Files

14

Last publish

Collaborators

  • pinyin