You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 redThe 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/old-docs-site#976