Last active
August 29, 2015 14:06
-
-
Save tnylea/01c9f6d75cdef1aef6e9 to your computer and use it in GitHub Desktop.
Base App Element
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"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script> | |
<!-- | |
@element app-name | |
--> | |
<polymer-element name="app-name"> | |
<template> | |
<style> | |
:host { | |
display:block; | |
} | |
</style> | |
{{ key }} | |
</template> | |
<script> | |
Polymer( { | |
publish: { | |
key: { value: '0', reflect: true }, | |
}, | |
ready: function() { | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment