Polymer 1.0+ itemForElement example

In Polymer sometimes you need to access the data item bound to a DOM element inside a dom-repeat template. A common use case is when the user interacts with the element (like click/hover) and you need to display additional properties of the element.

The way to do that is using the dom-repeat template method itemForElement.

JS Bin on jsbin.com