Skip to content

Instantly share code, notes, and snippets.

@silverliebt
Created August 2, 2014 02:40
Show Gist options
  • Save silverliebt/3d8ddf647023ff3b4d7f to your computer and use it in GitHub Desktop.
Save silverliebt/3d8ddf647023ff3b4d7f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#chart_js {
width: 490px;
height: 380px;
left: 380px;
top: 90px;
position: absolute;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1110px;
top: 500px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 470px;
top: 370px;
position: absolute;
}
</style>
<chart-js kind="Radar" id="chart_js"></chart-js>
<code-mirror id="code_mirror"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></code-mirror>
<google-map id="google_map"></google-map>
</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