-
Notifications
You must be signed in to change notification settings - Fork 0
scrollLoad
huangchengwen edited this page May 10, 2017
·
2 revisions
Properties | Descrition | Type | Default |
---|---|---|---|
ScrollTarget | 绑定scroll事件的容器 | STring | 'body' |
ScrollIsEnd | 数据是否已经全部加载,false-为加载全,true-已经加载全部数据(停止滚动加载) | bool | false |
ScrollIsFetch | 数据是否处于请求中,false-非请求状态,true-请求状态(锁死请求) | Bool | false |
ScrollSize | 每次请求数据记录数 | number | 15 |
ScrollLastId | 请求数据的起始标记 | String | -1 |
ScrollOnPopup | 上拉加载函数 | function | null |
ScrollOnReload | 下来刷新函数(未实现) | function | null |
ScrollOffset | 滚动加载,距离底部位置 | number | 74 |
<ScrollLoad className="ui-assign-list-container"
ScrollTarget='.op-app-container'
ScrollIsEnd={isScrollEnd}
ScrollIsFetch={isScrollFetch}
ScrollLastId={taskId}
ScrollSize={15}
ScrollOnScroll = {onScroll}
ScrollOnPopup={onScrollAction}>