Skip to content

Instantly share code, notes, and snippets.

@lumue
Created September 12, 2014 14:59
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 lumue/0d4474b5a9ce8b29495f to your computer and use it in GitHub Desktop.
Save lumue/0d4474b5a9ce8b29495f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#cool_clock {
width: 180px;
height: 200px;
left: 840px;
top: 40px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 200px;
top: 260px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 790px;
top: 410px;
position: absolute;
}
</style>
<cool-clock skin="swissRail" id="cool_clock" center vertical layout></cool-clock>
<google-map id="google_map"></google-map>
<chart-js kind="Radar" id="chart_js"></chart-js>
</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