Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html>
<head>
  <meta charset="utf-8"> 
</head>
<body>
  <script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.2.1/platform.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.2.1/polymer.js"></script>
  
  <test-element></test-element>
  
  <polymer-element name="test-element">
    <template>
      {{customerList}}
      
    </template>
    <script>
      Polymer('test-element', {
        ready: function() {
          this.loadCustomerList();
        },
        
        customerList:"Loading customer list...",
        
        loadCustomerList: function() {
          this.customerList = "<div>Name 1</div><div>Name 2</div><div>Name 3</div><div>Name 4</div>";
        }
        
      });
    </script>
  </polymer-element>
  
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers