Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html>
<head>
  <!-- Polyfills only needed for Firefox and Edge. -->
  <script src="https://unpkg.com/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
  <style>
    body {
      margin: 0;
    }
    .item {
      border-bottom: 1px solid #eee;
      height: 20vh;
    }
  </style>
</head>
<body>
  <iron-list scroll-target="document">
    <template>
      <div class="item">Item [[index]]</div>
    </template>
  </iron-list>
  <!-- Loads natively on browsers that support Javascript modules like
       Chrome, Safari, Firefox 60, Edge 16. For all others, use a
       module-compatible toolchain like Polymer CLI, WebPack, or Rollup -->
  <script type="module">
    import 'https://unpkg.com/@polymer/iron-list/iron-list.js?module';
    document.querySelector('iron-list').items =
      [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19];
  </script>
  
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
keanuleepro
0viewers