Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

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

@ebidel

Description

@ebidel

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/old-docs-site#976

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions