pullToRefresh实现支持手机端上拉加载更多下拉刷新操作代码
代码语言:html
所属分类:拖放
代码描述:pullToRefresh实现上拉加载更多下拉刷新操作代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/pullToRefresh.min.css"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/iscroll.4.5.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/pullToRefresh.min.js"></script> <style type="text/css" media="all"> body, html { padding: 0; margin: 0; height: 100%; font-family: Arial, Helvetica, sans-serif; } </style> </head> <body> <!--must content ul--> <div id="wrapper"> <ul> <li>row 4</li> <li>row 3</li> <li>row 2</li> <li>row 1</li> </ul> </div> <script> refresher.init({ id:"wrapper", pullDownAction:Ref.........完整代码请登录后点击上方下载按钮下载查看
网友评论0