Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

creating book app, pages as ons-carousel-item



  • I want to create a reading app similar to books in real world, i am thinking to use <ons-carousel> and <ons-carousel-item> as their pages which will come indefinitely by making an ajax call to some server-side page.

    Server side page will give paragraph in response, <div><p>some large text para spanning many pages</p></div>

    I want to code in such a way that response text gets adjusted or fit in <ons-carousel-item> of fixed size and without breaking word (no-wrap) continue in nest <ons-carousel-item>

    how will i achieve this.