Closed waxie closed 10 years ago
What is the best method to programmatically make the "pull-to-refresh" visible / open up?
I would like the pull-to-refresh to show/stay opened if loading failed or there is no network connection.
I tried programmatically scrolling and setting MinScrollY with different results.
$myscrollview = $('#panel').data("mobileIscrollview"); $myscrollview.minScrollY(0); $myscrollview.scrollTo(0,-$myscrollview.options.topOffset,0,true);
This does not always seem to work, and page creation events seem to reset the pulldown box to disappear again.
The problem was iscrollview refresh was pulled after pulling down the box
What is the best method to programmatically make the "pull-to-refresh" visible / open up?
I would like the pull-to-refresh to show/stay opened if loading failed or there is no network connection.
I tried programmatically scrolling and setting MinScrollY with different results.
$myscrollview = $('#panel').data("mobileIscrollview"); $myscrollview.minScrollY(0); $myscrollview.scrollTo(0,-$myscrollview.options.topOffset,0,true);
This does not always seem to work, and page creation events seem to reset the pulldown box to disappear again.