jordansinger/Hook
Pull to refresh for the web
{ "createdAt": "2013-03-01T04:19:57Z", "defaultBranch": "master", "description": "Pull to refresh for the web", "fullName": "jordansinger/Hook", "homepage": "", "language": "JavaScript", "name": "Hook", "pushedAt": "2017-02-18T21:34:58Z", "stargazersCount": 1651, "topics": [], "updatedAt": "2025-11-24T04:41:01Z", "url": "https://github.com/jordansinger/Hook"}Pull to refresh for the web
Dependencies
Section titled “Dependencies”- jQuery
Settings
Section titled “Settings”- refresh: refreshes entire page, default is true, if false will call callback (must also have callback setting),
- callback: custom callback function
Examples:
Section titled “Examples:”// Defaults$('#hook').hook();
// Callback$('#hook').hook({ refresh: false, callback: function(){ console.log('Hello, World!'); }});