Name: AlloyPullRefresh
Owner: ?? AlloyTeam
Description: null
Created: 2017-04-17 09:45:43.0
Updated: 2018-05-10 14:38:25.0
Pushed: 2017-04-17 13:29:11.0
Homepage: null
Size: 24
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
PullRefresh = require('.PullRefresh/PullRefresh.jsx');
PostListItem = React.createClass({
render: function(){
return (
<div className="wrap" id="wrap">
<PullRefresh onRefresh={this.onRefresh} container={'wrap'}/>
<div className="scroll-content"></div>
</div>
)
}
ipt type="text/javascript" src="../src/zepto/pullRefresh.js"></script>
k rel="stylesheet" type="text/css" href="../src/zepto/pullRefresh.css">
class="tuijian-container" id="container">
iv class="pull-down-content">
<div id="arrowIcon"></div>
<div id="pullIcon" class="spinner" style="display: none;"></div>
<span id="pullText">????</span>
div>
iv id="wrapper" class="wrapper ">
<ul id="recommend-hot-list" class="ul recommend-hot-list">
</ul>
div>
v>
ipt type="text/javascript">
AlloyPullRefresh.init({
container: '#container'
});
ript>
| ?? | ?? | ?? | ?? | ??? | | :————- | :————- | :————- | :————- | :————- | | dragThreshold | number | ??? | ? | 0.3 | | moveCount | number | ???? | ? | 200 | | beforePull | function | ????????? | ? | | | afterPull | function | ????????? | ? | | | onRefresh | function | ???????? | ? | |
Copyright(c) 2016-2017 AlloyTeam. Licensed under MIT license.