Skip to content

Instantly share code, notes, and snippets.

@tomgross
Created September 11, 2014 07:57
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 tomgross/dff0d6b68ad4b40564b6 to your computer and use it in GitHub Desktop.
Save tomgross/dff0d6b68ad4b40564b6 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 230px;
top: 170px;
position: absolute;
}
#core_icon {
left: 700px;
top: 130px;
position: absolute;
}
#core_ajax {
left: 720px;
top: 300px;
position: absolute;
}
#speech_mic {
left: 760px;
top: 470px;
position: absolute;
}
#smoothie_chart {
left: 560px;
top: 600px;
position: absolute;
}
</style>
<google-map id="google_map"></google-map>
<core-icon icon="search" id="core_icon"></core-icon>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
<speech-mic id="speech_mic"></speech-mic>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
</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