Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jordansinger/Hook
- Owner: jordansinger
- License: mit
- Created: 2013-03-01T04:19:57.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-18T21:34:58.000Z (almost 8 years ago)
- Last Synced: 2024-10-11T22:33:28.751Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 1,601
- Watchers: 86
- Forks: 280
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - Hook
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!');
}
});
````