Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <title>polymer</title>
  <script src="http://www.polymer-project.org/platform.js"></script>
  <link rel="import" href="http://www.polymer-project.org/polymer.html">
</head>
<body>
  <x-test></x-test>
  
  <polymer-element name="x-test">
    <template>
      <div>{{ prop-erty }}</div>
      <div>{{ ['prop-erty'] }}</div>
      <div>{{ test['prop-erty'] }}</div>
    </template>
    <script>
      Polymer('x-test', {
        'prop-erty': 'Hello!',
        test: {'prop-erty': 'Hello2!'}
      });
    </script>
  </polymer-element>
</body>
</html>
Output

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

Dismiss x
public
Bin info
sorvellpro
0viewers