Skip to content

Instantly share code, notes, and snippets.

@tomalec
Created February 14, 2014 11:16
Show Gist options
  • Select an option

  • Save tomalec/8999432 to your computer and use it in GitHub Desktop.

Select an option

Save tomalec/8999432 to your computer and use it in GitHub Desktop.
<polymer-element name="x-foo" extends="body">
<template><content></content></template>
<script>
Polymer('x-foo',{
attached: function(){
this.async(function() {
console.log("Hello!, my name is" + this.tagName, this.children );
});
}
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment