Last active
August 29, 2015 14:16
-
-
Save marcus7777/d3c3f8cc62e3b8dfb13b to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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="../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