Skip to content

Instantly share code, notes, and snippets.

@liady
Created October 22, 2014 11:54
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 liady/e568b8c72f85941074c2 to your computer and use it in GitHub Desktop.
Save liady/e568b8c72f85941074c2 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#ace_element {
width: 400px;
height: 300px;
left: 10px;
top: 10px;
position: absolute;
}
#cool_clock {
width: 170px;
height: 170px;
left: 410px;
top: 10px;
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>
<cool-clock skin="Tumb" id="cool_clock"></cool-clock>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment