googlearchive / core-list

Polymer virtualized list element
25 stars 23 forks source link

https://www.polymer-project.org/0.5/docs/elements/core-list.html #83

Open ebidel opened 9 years ago

ebidel commented 9 years ago

From @gertcuykens on March 24, 2015 22:47

https://www.polymer-project.org/0.5/docs/elements/core-list.html

In the examples <template> tags have wrong highlight color, should be blue not red

The following should be groups[groupIndex] instead of groups[index] // user group data corresponding to groups[index]

{
  index: 0,           // data index for this item
  groupIndex: 0,      // group index for this item
  groupItemIndex: 0,  // index within group for this item
  selected: false,    // selection state for this item
  model: {            // user data corresponding to data[index]
    /* user item data  */
  },
  groupModel: {       // user group data corresponding to groups[index]
    /* user group data */
  }
}

For me its completely unclear what the difference is between groupIndex and groupItemIndex

Copied from original issue: Polymer/docs#976

ebidel commented 9 years ago

From @gertcuykens on March 24, 2015 23:13

2) not clear the difference between class="row" class="item"

3) divider attribute and class? <div divider class="divider">{{groupModel.letter}}</div>

ebidel commented 9 years ago

From @gertcuykens on March 25, 2015 1:49

4) Highlight that the default height is 200 of a item and should be changed