JSPM

  • Created
  • Published
  • Downloads 19879
  • Score
    100M100P100Q143289F
  • License MIT

m-list-view ui component for react

Package Exports

  • rmc-list-view

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 (rmc-list-view) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rmc-list-view


NPM version build status Test coverage gemnasium deps npm download

Screenshots

Development

npm install
npm start

Example

http://localhost:8999/examples/

online example: http://react-component.github.io/m-list-view/

install

rmc-list-view

Usage

see examples

API

same as React Native ListView (v0.26).

current not support:

In general, do not support platform-specific feature, like: android endFillColor, ios alwaysBounceHorizontal. And, use css style instead of react-native's style.

  • onChangeVisibleRows

  • stickyHeaderIndices

  • ScrollView props:

  • keyboardDismissMode (not support control keyboard)

  • keyboardShouldPersistTaps (not support control keyboard)

  • onContentSizeChange (use onLayout instead)

  • removeClippedSubviews

  • showsHorizontalScrollIndicator (use css style instead)

  • showsVerticalScrollIndicator (use css style instead)

  • View props: note: just support onLayout prop

new

  • stickyHeader (note: if set it, ScrollComponent will be render into the head of body element)
  • renderBodyComponent

ListView.IndexedList (beta)

  • quickSearchBarTop (object{value:string, label:string}, default '#') - top button
  • quickSearchBarStyle (object) - quickSearchBar's style
  • onQuickSearch (function())

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rmc-list-view is released under the MIT license.