Answers for "load more javascript scroll"

0

load more javascript scroll

$(function(){
    $('#content').scrollPagination({
        'url': 'democontent.json',
        'data': {
            'page': 1,
            'size': 15,
        },
        'scroller': $(window),
        'autoload':false,
        'heightOffset': 0,
        'loading': "#loading",
        'loadingText': 'click to loading more.',
        'loadingNomoreText': 'No more.',
        'manuallyText': 'click to loading more.',
        'before': function(){
            $(this.loading).fadeIn();
        },
        'after': function(elementsLoaded){
            $(this.loading).fadeOut();
            $(elementsLoaded).fadeInWithDelay();
        }
    });
});
Posted by: Guest on August-10-2021

Code answers related to "load more javascript scroll"

Code answers related to "Javascript"

Browse Popular Code Answers by Language