Open rameshkithsiri opened 6 years ago
I want to start the scrollbar from bottom and prepending data when user scrolled to top.
{ onInit: function(){ $('.scroll-Element').scrollTop(100000); }, onScroll: function(y,x){ if(y.scroll==0&&y.maxScroll>0){ // Loading data and prepending } } }
But all data loading when initializing.
I want to start the scrollbar from bottom and prepending data when user scrolled to top.
But all data loading when initializing.