Skip to content

Instantly share code, notes, and snippets.

@olvap
Last active August 29, 2015 14:15
Show Gist options
  • Save olvap/e64e58bb075475b34a31 to your computer and use it in GitHub Desktop.
Save olvap/e64e58bb075475b34a31 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-ajax/core-ajax.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_ajax {
left: 230px;
top: 50px;
position: absolute;
}
</style>
<core-ajax url="//gdata.youtube.com/feeds/api/videos/" handleas="json" auto params='{"alt":"json", "q":"chrome"}' method="GET" id="core_ajax" hidden></core-ajax>
<template repeat="{{response.feed.entry}}"></template>
<h1>hola</h1>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment