some problem about to use 'on-infinite-scroll'



  • can anyone tell me how to load more with ‘on-infinite-scroll’.when scrolling to the bottom of the page


  • Onsen UI

    @peskoe You just need to add on-infinite-scroll="handler" to the ons-page and then define handler as a function with a done() callback, for example:

    var handler = function(done) {
       console.log('adding item');
       done();
    }

Log in to reply