Options
You can configure some properties to better adapt the plugin to your needs
sensibility
Number of pixels to each call of “move” event
default:10
refresh
Value in pixels to fire “refresh” event
default:200
lockRefresh
Indicates that the user can pull up to get the value “refresh”
default:false
resetRefresh
Indicates that the “reset” function will be called immediately when occur the event “refresh”
default:false
autoInit
Indicates that the “PullToRefresh” object must be built on startup “plugin”
default:true
resetSpeed
Speed of reset animation in milliseconds
default:100ms
simulateTouch
Simulate touch events with mouse events
default:true
threshold
Integer with the threshold variation of the y axis
default:20