Skip to content

Instantly share code, notes, and snippets.

@jdrew1303
Created January 25, 2015 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdrew1303/bff9cba07fb72e532d30 to your computer and use it in GitHub Desktop.
Save jdrew1303/bff9cba07fb72e532d30 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-button/paper-button.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: 300px;
top: 90px;
position: absolute;
}
#input {
padding: 15px;
left: 750px;
top: 420px;
position: absolute;
}
#paper_button {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<input committedvalue="dfgdfgfd" id="input" value="dfgdfgfd" placeholder="type something..." is="core-input">
<paper-button raised recenteringtouch id="paper_button">button</paper-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment