Skip to content

Instantly share code, notes, and snippets.

@dmonad
Created October 19, 2014 12:18
Show Gist options
  • Save dmonad/d679e0e83809e3a2ab41 to your computer and use it in GitHub Desktop.
Save dmonad/d679e0e83809e3a2ab41 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: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<ace-element value="function test() {
var x = true;
}" editorvalue="function test() {
var x = true;
}" 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