Skip to content

Instantly share code, notes, and snippets.

@mbonaci
Created November 21, 2014 00:29
Show Gist options
  • Save mbonaci/d7e30ba2d374a51f089a to your computer and use it in GitHub Desktop.
Save mbonaci/d7e30ba2d374a51f089a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../notification-elements/notification-alert.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;
}
#chart_js {
width: 300px;
height: 200px;
left: 470px;
top: 280px;
position: absolute;
opacity: 0.4;
background-color: rgb(155, 155, 155);
}
#code_mirror {
width: 400px;
height: 300px;
left: 30px;
top: 50px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 880px;
top: 20px;
position: absolute;
}
#notification_alert {
left: 1040px;
top: 600px;
position: absolute;
}
#paper_button {
left: 490px;
top: 520px;
position: absolute;
}
</style>
<chart-js id="chart_js"></chart-js>
<code-mirror value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" theme="mbo" id="code_mirror">
<polymer-element name="my-element">
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>
</code-mirror>
<cool-clock id="cool_clock"></cool-clock>
<notification-alert id="notification_alert" message="Hi there!" name="notification" icon="icon.png"></notification-alert>
<paper-button 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