Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<script src="http://www.polymer-project.org/platform.js"></script>
<script src="http://www.polymer-project.org/polymer.js"></script>
<polymer-element name="my-element">
  <template>
    <content></content>
  </template>
  <script>
    Polymer('my-element', {
      hiddenChanged: function() {
        alert(this.hidden)
      }
    });
  </script>
</polymer-element>
<my-element onclick="this.hidden=!this.hidden">Click me to hide</my-element>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers