Skip to content

Instantly share code, notes, and snippets.

@larsgk
Created September 12, 2014 11:16
Show Gist options
  • Save larsgk/c8027c75f5cf2d49e905 to your computer and use it in GitHub Desktop.
Save larsgk/c8027c75f5cf2d49e905 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#speech_mic {
left: 250px;
top: 330px;
position: absolute;
}
#google_map_search {
left: 420px;
top: 210px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 360px;
top: 80px;
position: absolute;
}
#google_map_search1 {
left: 140px;
top: 190px;
position: absolute;
}
#google_map_search2 {
left: 680px;
top: 280px;
position: absolute;
}
#smoothie_chart {
left: 30px;
top: 80px;
position: absolute;
}
#paper_input {
left: 70px;
top: 400px;
position: absolute;
}
</style>
<speech-mic transcript="okay Google give me something Indian food" completetranscript="okay Google give me something Indian food" id="speech_mic"></speech-mic>
<google-map-search id="google_map_search"></google-map-search>
<google-map-search id="google_map_search1"></google-map-search>
<google-map-search id="google_map_search2"></google-map-search>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
<paper-input inputvalueformirror="kwsefhwoefh&nbsp;" inputhasvalue="kwsefhwoefh" label="Type something..." willvalidate inputvalue="kwsefhwoefh" value="kwsefhwoefh" id="paper_input" layout vertical></paper-input>
<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