List


  • Onsen UI

    Component for representing a list. It takes an array called datasrouce and calls renderRow(row, index) for every row. Furthermore, the header and the footer can be specified with renderRow and renderHeader respectivly.

    Click here to see the original article



  • List item is not Rendering please see my question in Stackoverflow http://stackoverflow.com/questions/42969826/onsen-ui-reactjs-list-items-not-rendering



  • I usually wonder whether I can use <List> without dataSource/renderRow, but specifying <ListItem> manually. It works but I’m not sure if it is legal (e.g. may not work in future versions) because it’s not mentioned in this tutorial. Then I found the pattern in the tutorial. So I guess it is legal.

    <Ons.List>
      <Ons.ListHeader>Bindings</Ons.ListHeader>
      <Ons.ListItem>Vue</Ons.ListItem>
      <Ons.ListItem>Angular</Ons.ListItem>
      <Ons.ListItem>React</Ons.ListItem>
    </Ons.List>
    

Log in to reply