Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jordansinger/Hook

Pull to refresh for the web
https://github.com/jordansinger/Hook

Last synced: about 2 months ago
JSON representation

Pull to refresh for the web

Awesome Lists containing this project

README

        

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:
```` JS
// Defaults
$('#hook').hook();

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