Skip to content

Instantly share code, notes, and snippets.

@kikill95
Created November 6, 2015 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kikill95/979229c22ed316af7e41 to your computer and use it in GitHub Desktop.
Save kikill95/979229c22ed316af7e41 to your computer and use it in GitHub Desktop.
Kirill G. - little dive into Polymer
<link rel="import"
href="../bower_components/polymer/polymer.html">
<dom-module id="my-el-1">
<template>
ha-ha
<b>{{text}}</b>
</template>
<script>
Polymer({
is: "my-el-1",
ready: function() {
this.text = "I'm a proto-element. Check out my prototype!"
}
});
</script>
</dom-module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment