Skip to content

Instantly share code, notes, and snippets.

@marcus7777
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save marcus7777/d3c3f8cc62e3b8dfb13b to your computer and use it in GitHub Desktop.

Select an option

Save marcus7777/d3c3f8cc62e3b8dfb13b to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
</style>
<firebase-element id="base" location="https://dazzling-fire-4274.firebaseio.com/" data="{{data}}" keys="{{keys}}"></firebase-element>
<h3>My Firebase Data</h3>
<template repeat="{{key in keys | limitTo:100}}">
<p>{{key}}: {{data[key]}}</p>
</template>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment