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.


Log in to reply