AlloyTeam/AlloyPullRefresh

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

H5??????
??
??

????
react??
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>
    )
}

zepto??
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 | ???????? | ? | |

License

Copyright(c) 2016-2017 AlloyTeam. Licensed under MIT license.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.