Skip to content

Instantly share code, notes, and snippets.

@dqaria
Last active August 29, 2015 14:06
Show Gist options
  • Save dqaria/08b7cf2f5a51763663c8 to your computer and use it in GitHub Desktop.
Save dqaria/08b7cf2f5a51763663c8 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: 200px;
top: 140px;
position: absolute;
}
</style>
</template>
<script>
Polymer({
});
</script>
</polymer-element><ace-element value="function test() {
var x = true;
}" editorvalue="function test() {
var x = true;
}" id="ace_element" class="drag-element">function test() {
var x = true;
}</ace-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment