Skip to content

Instantly share code, notes, and snippets.

@reilly3000
Last active August 29, 2015 14:11
Show Gist options
  • Save reilly3000/7ce1277d66f94bd31286 to your computer and use it in GitHub Desktop.
Save reilly3000/7ce1277d66f94bd31286 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 580px;
top: 410px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 520px;
top: 340px;
position: absolute;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 740px;
top: 300px;
position: absolute;
}
#core_ajax {
left: -741px;
top: -301px;
position: absolute;
}
#core_ajax1 {
left: -741px;
top: -301px;
position: absolute;
}
#core_ajax2 {
left: -741px;
top: -301px;
position: absolute;
}
#smoothie_chart {
left: 1200px;
top: 480px;
position: absolute;
}
#ace_element1 {
width: 400px;
height: 300px;
left: 1270px;
top: 130px;
position: absolute;
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<chart-js kind="bar" id="chart_js"></chart-js>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
<core-ajax handleas="json" loading method="GET" withcredentials id="core_ajax1" hidden></core-ajax>
<core-ajax handleas="json" method="GET" id="core_ajax2" hidden></core-ajax>
</section>
<section id="section1">Page Two</section>
</core-pages>
<smoothie-chart id="smoothie_chart">fun</smoothie-chart>
<ace-element id="ace_element1">function test() {
var x = true;
}</ace-element>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment