Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
    <meta charset=utf-8 />
    <title>Polymer</title>
  </head>
  <body>
    <script src="http://www.polymer-project.org/platform.js"></script>
    <link rel="import"
          href="http://www.polymer-project.org/components/polymer/polymer.html">
    <template is="auto-binding" id="tmpl">
      <h1>Hello from {{foo}}</h1>
    </template>
    <script>
      document.addEventListener('polymer-ready', function() {
        var tmpl = document.querySelector('#tmpl');
        tmpl.foo = 'my thing';
      });
    </script>
  </body>
</html>
Output

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

Dismiss x
public
Bin info
robdodsonpro
0viewers