Closed bhumitra closed 7 years ago
+1
example : http://h5china.cn/joke/index.jsp
@loveMrStar is there any example load messages . on scroll top. Scrolling from bottom to top to read all message.
@Amerr Do you mean pull up and then load the message?
yes @loveMrStar . like slack does
@Amerr Here's an example: the drop - up and pull - up of iScroll 5 is more load - up - but there is no such unlimited scrolling. http://amazeui.org/examples/iscroll.html
@Amerr If you want iscroll and unlimited scrolling, you can do this: (1) when the drop is refreshed â‘ Empty the container for a message list //... â‘¡Update method to reset unlimited scrolling plugin $(selector).Infinitescroll ('update', {state: {currPage: 0, isDone: false}); â‘¢Use the retrieve method to load the next page automatically $(selector).Infinitescroll ('retrieve'); â‘£If before the called pause method also need to call the resume method to infinite rolling recovery $(selector).Infinitescroll ('resume'); (2) when the load is loaded â‘ Use the retrieve method to load the next page automatically $(selector).Infinitescroll ('retrieve'); $(selector).Infinitescroll ('resume'); â‘¡When loading the page, the method is called to call the pause method in the unlimited scrolling plug-in. $(selector).Infinitescroll ('pause');
Infinite Scroll does not support bottom-up loading or scrolling. I'm closing this issue as its been quiet for a while. Please open a new issue if you would still like to see this feature.
Infinite Scroll v3 is out!. It's an all new re-write, so take a look at how to upgrade from v2.
I am not able to get the examples to work also.
This is not working!
Loading data on top scroll and without reaching bottom
Does anyone have a proper working example with code?