minooo / dolife

嘟嘟微生活——我司主项目基于React全家桶的前端架构。
63 stars 27 forks source link

{ListView} from "antd-mobile" #3

Open bigmanLau opened 6 years ago

bigmanLau commented 6 years ago

{ListView} from "antd-mobile" 的相关属性为什么没有查到文档

<ListView renderHeader={this.props.renderHeader || false} renderFooter={this.props.renderFooter || this.renderFooter} dataSource={this.state.dataSource} renderRow={this.props.renderRow} initialListSize={this.props.initialListSize || 20} pageSize={this.props.pageSize || 10} className={this.props.className} scrollRenderAheadDistance={this.props.scrollRenderAheadDistance || 200} scrollEventThrottle={this.props.scrollEventThrottle || 20} onScroll={this.props.onScroll || this.onScroll} onEndReached={this.props.onEndReached || this.onEndReached} onEndReachedThreshold={this.props.onEndReachedThreshold || 10} useBodyScroll={this.props.useBodyScroll || true} />

这些属性 antdmobile的文档没有说明

bigmanLau commented 6 years ago

<ListView renderHeader={this.props.renderHeader || false} renderFooter={this.props.renderFooter || this.renderFooter} dataSource={this.state.dataSource} renderRow={this.props.renderRow} initialListSize={this.props.initialListSize || 20} pageSize={this.props.pageSize || 10} className={this.props.className} scrollRenderAheadDistance={this.props.scrollRenderAheadDistance || 200} scrollEventThrottle={this.props.scrollEventThrottle || 20} onScroll={this.props.onScroll || this.onScroll} onEndReached={this.props.onEndReached || this.onEndReached} onEndReachedThreshold={this.props.onEndReachedThreshold || 10} useBodyScroll={this.props.useBodyScroll || true} />

sundayha commented 6 years ago

@bigmanLau 有啊