Skip to content

Instantly share code, notes, and snippets.

@dhagan
Created December 31, 2014 01:24
Show Gist options
  • Save dhagan/6a058631c2e2fe2a66c7 to your computer and use it in GitHub Desktop.
Save dhagan/6a058631c2e2fe2a66c7 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_ajax {
left: 250px;
top: 690px;
position: absolute;
}
#core_ajax1 {
left: 570px;
top: 850px;
position: absolute;
}
#ace_element {
width: 400px;
height: 300px;
left: 410px;
top: 810px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 620px;
top: 550px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 1080px;
top: 1560px;
}
</style>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
<core-ajax handleas="json" method="GET" id="core_ajax1" hidden></core-ajax>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<chart-js id="chart_js"></chart-js>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment