Skip to content

Instantly share code, notes, and snippets.

@Scarygami
Created May 18, 2015 13:55
Show Gist options
  • Save Scarygami/6e42d1298d0ce343e089 to your computer and use it in GitHub Desktop.
Save Scarygami/6e42d1298d0ce343e089 to your computer and use it in GitHub Desktop.
hangout-app 0.9 release
<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>
<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