UNPKG

nuke-list-view

Version:

列表

114 lines 3.46 kB
{ "name": "ListView", "props": { "onEndReached": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "列表底部加载更多的回调函数 onEndReached callback function", "docblock": "列表底部加载更多的回调函数 onEndReached callback function" }, "onEndReachedThreshold": { "type": { "name": "custom", "raw": "PropTypes.num" }, "required": false, "description": "列表到底部触发加载更多的位移量 offset of onEndReached been triggered", "defaultValue": { "value": "500", "computed": false }, "docblock": "列表到底部触发加载更多的位移量 offset of onEndReached been triggered" }, "style": { "type": { "name": "custom", "raw": "PropTypes.any" }, "required": false, "description": "列表外层容器样式 style of list", "docblock": "列表外层容器样式 style of list" }, "showScrollbar": { "type": { "name": "custom", "raw": "PropTypes.boolean" }, "required": false, "description": "是否显示滚动条 show scrollbar or not when scrolling", "defaultValue": { "value": "false", "computed": false }, "docblock": "是否显示滚动条 show scrollbar or not when scrolling" }, "_keepScrollPosition": { "type": { "name": "custom", "raw": "PropTypes.boolean" }, "required": false, "description": "是否保持上一次滚动位置 keep last scroll position", "defaultValue": { "value": "false", "computed": false }, "docblock": "是否保持上一次滚动位置 keep last scroll position" }, "_autoWrapCell": { "type": { "name": "custom", "raw": "PropTypes.boolean" }, "required": false, "description": "是否自动包裹 cell 标签,仅用于非数据源模式 wrap cell tag or not", "defaultValue": { "value": "true", "computed": false }, "docblock": "是否自动包裹 cell 标签,仅用于非数据源模式 wrap cell tag or not" }, "renderRow": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "渲染数据的回调函数 render list row function", "docblock": "渲染数据的回调函数 render list row function" }, "dataSource": { "type": { "name": "custom", "raw": "PropTypes.array" }, "required": false, "description": "数据源 data souce of the list", "docblock": "数据源 data souce of the list" }, "renderHeader": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "渲染头部的回调函数 render list header function", "docblock": "渲染头部的回调函数 render list header function" }, "renderFooter": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "渲染尾的回调函数 render list footer function", "docblock": "渲染尾的回调函数 render list footer function" } }, "methods": [], "description": "列表", "subComponents": [] }