Created
November 6, 2015 11:11
-
-
Save kikill95/979229c22ed316af7e41 to your computer and use it in GitHub Desktop.
Kirill G. - little dive into Polymer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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