Skip to content

Instantly share code, notes, and snippets.

@asherp
Created September 21, 2014 17:41
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 asherp/7377fcf03ef6a2978951 to your computer and use it in GitHub Desktop.
Save asherp/7377fcf03ef6a2978951 to your computer and use it in GitHub Desktop.
designer
<link href="../chart-js/chart-js.html" rel="import">
<link href="../cool-clock/cool-clock.html" rel="import">
<link href="../code-mirror/code-mirror.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 200px;
left: 250px;
top: 80px;
position: absolute;
}
#ace_element {
width: 400px;
height: 300px;
left: 1240px;
top: 420px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1200px;
top: 470px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 430px;
top: 460px;
position: absolute;
}
</style>
<chart-js kind="Radar" id="chart_js"></chart-js>
<cool-clock skin="Lev" id="cool_clock"></cool-clock>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element><code-mirror value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="code_mirror" class="drag-element"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></code-mirror>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment