Skip to content
jordansingerPublic

About

Pull to refresh for the web

Resources

Stars

1.6k stars

Watchers

81 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hook

Pull to refresh for the web

Dependencies

  • jQuery

Settings

  • refresh: refreshes entire page, default is true, if false will call callback (must also have callback setting),
  • callback: custom callback function

Examples:

// Defaults
$('#hook').hook();

// Callback
$('#hook').hook({
  refresh: false,
  callback: function(){
    console.log('Hello, World!');
  }
});

About

Pull to refresh for the web

Resources

Stars

1.6k stars

Watchers

81 watching

Forks

Releases

Packages

Contributors

Languages