Skip to content

Instantly share code, notes, and snippets.

@amar-analytx
Created July 1, 2014 14:55
Show Gist options
  • Save amar-analytx/878df3db83e8a09f9950 to your computer and use it in GitHub Desktop.
Save amar-analytx/878df3db83e8a09f9950 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<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;
}
#paper_toggle_button {
left: 1170px;
top: 410px;
position: absolute;
}
#ace_element {
width: 400px;
height: 300px;
left: 740px;
top: 220px;
position: absolute;
}
</style>
<paper-toggle-button id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
<ace-element value="<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