You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

nuke-list-view

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-list-view

列表

0.1.3
npm
Version published
Maintainers
3
Created
Source

Listview

  • category: UI
  • chinese: 列表
  • type: UI组件

何时使用

列表组件

API

ListView

属性说明类型默认值
renderHeader头部function
renderFooter底部function
renderRow渲染单行的方法function
dataSource数据源array
onEndReached加载到底部时触发 的事件原onloadmore 事件
onEndReachedThreshold加载更多的位移设置量string500
showScrollbar是否显示滚动条bool

关于ListView的子组件

  • RefreshControl 用于控制下拉刷新,可以在renderHeader 方法中使用,用于控制下拉刷新。此组件只能在客户端生效
  • Cell 此组件在ListView 组件渲染时将被自动加上,因此开发者不需要关注此组件

Keywords

nuke

FAQs

Package last updated on 03 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts