Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. Dipanshu Juneja
    D
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Dipanshu Juneja

    @Dipanshu Juneja

    0
    Reputation
    1
    Posts
    372
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Dipanshu Juneja Follow

    Posts made by Dipanshu Juneja

    • Rendering a template for every element in a data stream - Infinite Lists

      I have a stream of data which I want to display in a list. As the title shows, I want to render a template for every element in my data. Basically like the Twitter Interface tutorial but with a stream of incoming data.
      I see that one-lazy-repeat takes a template but how can I use delegate to modify the contents of this template with the data? Thank you

      <ons-list>
         <ons-lazy-repeat id="infinite-list">
           <ons-list-item>
             <p id="title"> </p>
             <img id="post_img" />
             <p id="author"> </p>
           </ons-list-item>
         </ons-lazy-repeat>
       </ons-list>
      posted in Onsen UI
      D
      Dipanshu Juneja