Skip to content

v1.4.0

Compare
Choose a tag to compare
@blasten blasten released this 17 Jan 20:25
· 335 commits to master since this release
<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>

Fixes #356, #373, #235, #139