Releases: PolymerElements/iron-list
Releases · PolymerElements/iron-list
v2.0.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
<dom-module id="custom-list">
<template>
<style>
:host {
display: block;
}
iron-list {
@apply(--layout-fit);
}
</style>
<iron-list items="[[items]]" as="item">
<slot></slot>
</iron-list>
</template>
</dom-module>
Then you can place the template in the light DOM of custom-list
:
<custom-list items="[[items]]">
<template>
<div>[[item]]</div>
</template>
</custom-list>