Skip to content

Instantly share code, notes, and snippets.

@ABrouwer
Created June 7, 2014 12:30
Show Gist options
  • Save ABrouwer/26ed8534032201d3c8c0 to your computer and use it in GitHub Desktop.
Save ABrouwer/26ed8534032201d3c8c0 to your computer and use it in GitHub Desktop.
<link rel="import"
href="/components/polymer/polymer.html">
<link rel="import"
href="/public/vendor/core-firebase/core-firebase.html">
<link rel="import"
href="/public/vendor/polymer-ajax/polymer-ajax.html">
<polymer-element name="new-polymer-ajax-tag" noscript>
<template>
<link href='./new-cloud-tag.css' rel='stylesheet' type='text/css'>
<div>
<polymer-ajax url="https://universaltagmachine.firebaseio.com/tagnames.json" auto handleAs="json" response="{{tagList}}"></polymer-ajax>
<template repeat="{{tagnames in tagList}}">
<div class="container">
<ul class="tags">
<li><a href="1">{{tagnames}} <span>4</span></a></li>
</ul>
</template>
</new-polymer-ajax-tag>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment