UNPKG

weex-nuke

Version:

基于 Rax 、Weex 的高性能组件体系 ~~

160 lines 4.5 kB
{ "name": "ScrollView", "props": { "style": { "type": { "name": "custom", "raw": "PropTypes.any" }, "required": false, "description": "ScrollView 样式 style of ScrollView", "defaultValue": { "value": "{}", "computed": false }, "docblock": "ScrollView 样式 style of ScrollView" }, "onScroll": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "滚动时回调 callback when scrolling", "defaultValue": { "value": "null", "computed": false }, "docblock": "滚动时回调 callback when scrolling" }, "onScrollStart": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "滚动开始时回调 callback when scrolling", "defaultValue": { "value": "null", "computed": false }, "docblock": "滚动开始时回调 callback when scrolling" }, "onScrollEnd": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "滚动结束时回调 callback when scrolling", "defaultValue": { "value": "null", "computed": false }, "docblock": "滚动结束时回调 callback when scrolling" }, "onEndReached": { "type": { "name": "custom", "raw": "PropTypes.func" }, "required": false, "description": "加载到底部时回调 callback when scrolling to bottom", "defaultValue": { "value": "() => {}", "computed": false }, "docblock": "加载到底部时回调 callback when scrolling to bottom" }, "horizontal": { "type": { "name": "custom", "raw": "PropTypes.boolean" }, "required": false, "description": "是否横向 is horizontal", "defaultValue": { "value": "false", "computed": false }, "docblock": "是否横向 is horizontal" }, "onEndReachedThreshold": { "type": { "name": "custom", "raw": "PropTypes.number" }, "required": false, "description": "触发加载到底部回调的位移 offset of scrolling to bottom event been triggered", "defaultValue": { "value": "500", "computed": false }, "docblock": "触发加载到底部回调的位移 offset of scrolling to bottom event been triggered" }, "showsHorizontalScrollIndicator": { "type": { "name": "custom", "raw": "PropTypes.boolean" }, "required": false, "description": "是否展示横向滚动条 is show horizontal scrollbar", "defaultValue": { "value": "true", "computed": false }, "docblock": "是否展示横向滚动条 is show horizontal scrollbar" }, "showsVerticalScrollIndicator": { "type": { "name": "custom", "raw": "PropTypes.boolean" }, "required": false, "description": "是否展示纵向滚动条 is show vertical scrollbar", "defaultValue": { "value": "true", "computed": false }, "docblock": "是否展示纵向滚动条 is show vertical scrollbar" }, "contentContainerStyle": { "type": { "name": "custom", "raw": "PropTypes.any" }, "required": false, "description": "内容容器样式 the style of content's wrap container", "defaultValue": { "value": "{}", "computed": false }, "docblock": "内容容器样式 the style of content's wrap container" }, "scrollEventThrottle": { "type": { "name": "custom", "raw": "PropTypes.number" }, "required": false, "description": "onScroll 事件触发节流时间 the time inteval of next onScroll event being triggered", "defaultValue": { "value": "50", "computed": false }, "docblock": "onScroll 事件触发节流时间 the time inteval of next onScroll event being triggered" } }, "methods": [ { "name": "resetLoadmore", "docblock": "兼容旧的 resetScroll", "modifiers": [], "params": [], "returns": null, "description": "兼容旧的 resetScroll" } ], "description": "可滚动容器", "subComponents": [] }