The best place to find jQuery plugins !

Welcome on myjqueryplugins,

the best jquery plugins library !

Add your jQuery plugin.

Connect it with GitHub and create your plugin Homepage.

Make known your plugin to the community or link it to your own website !

mkPullFresh : Pull to refresh jQuery plugin for mobile and desktop.

Plugin rate :

Pull to refresh jQuery plugin for mobile and desktop devices with CSS animation. Extremely simple usage. Asynchronous stop. Fully customizable. Material design included.

Implementation: 
1
$('.pulled').mkPullFresh([refresh][,options]);

refresh - is a callback with only argument 'end' - a function, you need to call to stop pending state of plugin
options - is a javascript object

Options: 
maxShift
Integer
Default : 100 - maximum offset in pixels to pull element down
readyShift
Integer
Default : 50 - offset in pixels to be ready for refresh
pendingShift
Integer
Default : 50 - offset in pixels in pending state
refresh
Function
Default : null - Callback function
indicatorHtml
String
Default : '' - Html code of pull-to-refresh indicator
emitEvents
Boolean
Default : false - if true, will emit following events on puller
Methods: 
destroy
Function
Returns : undefined - destroys the plugin instance
get
Function
Returns : mkPullFresh - returns plugin instance on current element
Screenshots
  • pulling state

  • pending state

  • pulling state with content offset

Add new comment

To prevent automated spam submissions leave this field empty.

Plain text

  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <p> <br> <br />

Informations

jQuery
>= 1.7
Current version
1.0.0
Browsers compatibility
Google ChromeMozilla FirefoxSafari
Fork it on github Comments [0]