Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

jordansinger/Hook

Pull to refresh for the web

jordansinger/Hook.json
{
"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

  • jQuery
  • refresh: refreshes entire page, default is true, if false will call callback (must also have callback setting),
  • callback: custom callback function
// Defaults
$('#hook').hook();
// Callback
$('#hook').hook({
refresh: false,
callback: function(){
console.log('Hello, World!');
}
});