{"id":17167074,"url":"https://github.com/mrkou47/pulltorefresh","last_synced_at":"2025-03-24T18:19:15.720Z","repository":{"id":86662288,"uuid":"56257510","full_name":"MrKou47/pulltorefresh","owner":"MrKou47","description":"plugins for iscroll5","archived":false,"fork":false,"pushed_at":"2017-06-14T10:58:57.000Z","size":120,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T22:46:59.219Z","etag":null,"topics":["iscroll","jquery-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrKou47.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-14T17:36:52.000Z","updated_at":"2019-10-12T07:30:58.000Z","dependencies_parsed_at":"2023-02-28T13:45:51.459Z","dependency_job_id":null,"html_url":"https://github.com/MrKou47/pulltorefresh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrKou47%2Fpulltorefresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrKou47%2Fpulltorefresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrKou47%2Fpulltorefresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrKou47%2Fpulltorefresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrKou47","download_url":"https://codeload.github.com/MrKou47/pulltorefresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245325220,"owners_count":20596818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["iscroll","jquery-plugin"],"created_at":"2024-10-14T23:07:34.269Z","updated_at":"2025-03-24T18:19:15.714Z","avatar_url":"https://github.com/MrKou47.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pull-to-refresh\n\n一款基于iscroll5和jquery 的下拉刷新，上拉加载的的插件。\n\n## 使用\n\n```html\n  \u003cscript src=\"../iscroll-probe.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../jquery.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../pulltofresh.js\"\u003e\u003c/script\u003e\n  \u003cscript\u003e\n    $(\"#wrapper\").pulltofresh();\n  \u003c/script\u003e\n```\n\n## 参数\n\n```js\n  delector: { //选择器\n      container: '#wrapper', //iscroller的盒子\n      headBox: '.head',   //头部更新盒子\n      footBox: '.foot' //上拉刷新盒子\n  },\n  scrollSettings: { //给scroll传入的参数\n      probeType: 3,\n      mouseWheel: true\n  },\n  loadUrl: 'img/ajax-loader.gif', //加载图片的url\n  arrowUrl: 'img/arrow.png',  //下拉刷新图片的url\n  initScroll: -100,   //初始滚动大小\n  pulltoload: null, // 上拉加载的ajax函数\n  refresh: null //下拉刷新的ajax函数\n};\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkou47%2Fpulltorefresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrkou47%2Fpulltorefresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkou47%2Fpulltorefresh/lists"}