Skip to content

Instantly share code, notes, and snippets.

@jasonwmiller
Created September 18, 2014 17:01
Show Gist options
  • Select an option

  • Save jasonwmiller/ce66e3a62742e8e8f547 to your computer and use it in GitHub Desktop.

Select an option

Save jasonwmiller/ce66e3a62742e8e8f547 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: 570px;
top: 430px;
position: absolute;
}
</style>
<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