Skip to content

Instantly share code, notes, and snippets.

@andypinet
Last active August 29, 2015 14:27
Show Gist options
  • Save andypinet/943a0be828f6fbef00d3 to your computer and use it in GitHub Desktop.
Save andypinet/943a0be828f6fbef00d3 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.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;
}
#ace_element {
width: 400px;
height: 300px;
left: 180px;
top: 90px;
position: absolute;
background-color: rgb(170, 121, 66);
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 340px;
top: 40px;
position: absolute;
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<google-map latitude="37.682606560893234" longitude="-122.52516340820313" id="google_map"></google-map>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment