Last active
August 29, 2015 14:08
-
-
Save mokamoto/bb11e6ebb81a3ad0152b to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../speech-mic/speech-mic.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: 20px; | |
top: 130px; | |
position: absolute; | |
} | |
#core_input { | |
padding: 15px; | |
left: 420px; | |
top: 210px; | |
position: absolute; | |
} | |
#core_input1 { | |
padding: 15px; | |
left: 420px; | |
top: 320px; | |
position: absolute; | |
} | |
#speech_mic { | |
left: 220px; | |
top: 50px; | |
position: absolute; | |
} | |
#core_input2 { | |
padding: 15px; | |
left: 310px; | |
top: 50px; | |
position: absolute; | |
} | |
</style> | |
<google-map latitude="37.65325621051595" longitude="-122.16261458007813" id="google_map"></google-map> | |
<core-input willvalidate placeholder="Type something..." inputvalue="37.65325621051595" value="{{ $.google_map.latitude }}" id="core_input"></core-input> | |
<core-input willvalidate placeholder="Type something..." inputvalue="-122.16261458007813" value="{{ $.google_map.longitude }}" id="core_input1"></core-input> | |
<speech-mic transcript=" Orland" completetranscript="{{ $.core_input2.value }}" id="speech_mic"></speech-mic> | |
<core-input willvalidate placeholder="Type something..." id="core_input2"></core-input> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment