Created
May 18, 2015 13:55
-
-
Save Scarygami/6e42d1298d0ce343e089 to your computer and use it in GitHub Desktop.
hangout-app 0.9 release
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
<dom-element id="demo-hangout-app"> | |
<template> | |
<hangout-app on-ready="readyCallback"> | |
<h1>My Hangout App</h1> | |
</hangout-app> | |
</template> | |
</dom-element> | |
<script> | |
Polymer({ | |
is: 'demo-hangout-app', | |
readyCallback: function () { | |
console.log("demo-hangout-app ready"); | |
} | |
}); | |
</script> |
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
<polymer-element name="demo-hangout-app" extends="hangout-app"> | |
<template> | |
<template if="{{ loaded }}"> | |
<h1>My Hangout App</h1> | |
</template> | |
</template> | |
<script> | |
Polymer('demo-hangout-app', { | |
readyCallback: function () { | |
console.log("demo-hangout-app ready"); | |
}, | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment