Skip to content

Instantly share code, notes, and snippets.

@JamesXNelson
Created January 25, 2015 00:44
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 JamesXNelson/2fa886330fb98dbf98ea to your computer and use it in GitHub Desktop.
Save JamesXNelson/2fa886330fb98dbf98ea to your computer and use it in GitHub Desktop.
designer
<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: 40px;
top: 10px;
position: absolute;
}
#ace_element1 {
width: 400px;
height: 300px;
left: 210px;
top: 100px;
position: absolute;
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<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