Skip to content

Instantly share code, notes, and snippets.

@manuganji
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manuganji/9f2b95c5610b25a934de to your computer and use it in GitHub Desktop.
Save manuganji/9f2b95c5610b25a934de 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">
<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: 360px;
top: 170px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 10px;
top: 200px;
position: absolute;
}
</style>
<ace-element value="function test() {
var x = true;
}" editorvalue='function test() {
var x = true;
console.log("testin polymer");
}' id="ace_element">function test() {
var x = true;
}</ace-element>
<chart-js kind="Bar" 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