Is there any working example of onInfiniteScroll property of ons-page element?



  • Whenever I use Ons.Page, it automatically converted to ons-page; you may check this in Developer Tools in Monoca LocalKit. I tried following:

    <Ons.Page onInfiniteScroll={this.props.onInfiniteScroll.bind(this)}>
    </Ons.Page>
    

    to generate

    <ons-page oninfinitescroll="function (done) { try { /* ... */ } finally { done() } }">
    </ons-page>
    

    on onsenui 2.0.5 and react-onsenui 0.7.8.

    It seems not work. Is there any proper example to use onInfiniteScroll, or any easy way to debug the Onsen framework?