Skip to content

Instantly share code, notes, and snippets.

@jsguy
Created September 4, 2014 03:47
Show Gist options
  • Save jsguy/c4ccd9137b91d825fcda to your computer and use it in GitHub Desktop.
Save jsguy/c4ccd9137b91d825fcda to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../ace-element/ace-element.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: 250px;
top: 140px;
position: absolute;
}
#chart_js {
width: 330px;
height: 320px;
left: 270px;
top: 480px;
position: absolute;
}
</style>
<chart-js kind="Bar" id="chart_js"></chart-js>
<ace-element value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" editorvalue="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="ace_element"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></ace-element>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment