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>