Problem in ons-lazy-repeat



  • Hi everybody and Fran Diox !!!

    I want to ask about the case when I add <ons-list-header>title</ons-list-header> in ons-lazy-repeat .

    <ons-page ng-controller="MyCtrl">
      <ons-toolbar>
        <div class="center">Lazy Repeat</div>
      </ons-toolbar>
    
      <ons-list>
        <ons-list-header>title</ons-list-header>
        <ons-list-item ons-lazy-repeat="MyDelegate">
          {{item.name}}
        </ons-list-item>
      </ons-list>
    </ons-page>
    

    http://codepen.io/happyboydk89/pen/oLbodO

    And if, the height of the item is not equal, we will handle that problem how ?


Log in to reply