var params timeout 10 enabled true callback function app alert title P

1
2
3
4
5
6
7
8
var params = {
timeout: "10",
enabled: true,
callback: function (){app.alert({title:"Pull to Refresh", text:"Pull to refresh!"})},
pullText: "Pull to refresh",
releaseText: "Release to refresh",
loadText: "Loading..."
};