Skip to content

Instantly share code, notes, and snippets.

@rschwabco
Created June 27, 2014 00:41
Show Gist options
  • Save rschwabco/ccece0e37109ad7f112a to your computer and use it in GitHub Desktop.
Save rschwabco/ccece0e37109ad7f112a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="name-tag">
<template>
This is <b>{{owner}}</b>'s name-tag element.
</template>
<script>
Polymer('name-tag', {
// initialize the element's model
ready: function() {
this.owner = 'Rafael';
}
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment