Skip to content

Instantly share code, notes, and snippets.

@robertonic
Created February 24, 2016 13:24
Show Gist options
  • Save robertonic/d23ebfb8fee1e04460c3 to your computer and use it in GitHub Desktop.
Save robertonic/d23ebfb8fee1e04460c3 to your computer and use it in GitHub Desktop.
designer
<link href="../ace-element/ace-element.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<ace-element id="ace_element">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