What is the clean way, with Polymer 2.0, to parameterize the dom-repeat item template ?
Usage:
<custom-component>
<template id="item-template">
[[item]]
</template>
</custom-component>
CustomComponent:
<dom-module id="custom-component">
<template>
<template is="dom-repeat" items="[[foo]]" id="repeater">
<!-- Parameterized template -->
</template>
</template>
<!-- scripts... -->
</dom-module>
I cannot find any clear documentation on Polymer 2.0 to achieve this.