The Simplest Pull-Up Load More Demo Ever (iScroll _v4.2.5)
Add-ons

Plugin Description: This is undoubtedly the simplest implementation of pull-up loading more content ever, using the iScroll _v4.2.5 library. iScroll has now been upgraded to version 5.0, but many of its methods are still not fully developed. You can use my version for now. If you encounter any problems, leave a comment below. I will be happy to answer your questions.
Plugin Initialization:
1 | var myscroll = new iScroll("wrapper"); |
HTML Structure:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <div id="wrapper"> <div class="scroller"> <ul> <li>You are a genius</li> <li>You are a genius</li> <li>You are a genius</li> <li>You are a genius</li> <li>You are a genius</li> </ul> <div class="more"> <i class="pull_icon"> </i> <span> Pull up to load more... </span> </div> </div></div> |
评论