Skip to content

Instantly share code, notes, and snippets.

@piroux
Created November 2, 2015 21:42
Show Gist options
  • Save piroux/7e7a7fbcdcb3e7119347 to your computer and use it in GitHub Desktop.
Save piroux/7e7a7fbcdcb3e7119347 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 1000px;
height: 730px;
display: block;
left: 310px;
top: 120px;
position: absolute;
}
#paper_button {
left: 190px;
top: 530px;
position: absolute;
}
#input {
padding: 15px;
left: 80px;
top: 250px;
position: absolute;
}
#core_submenu {
left: 150px;
top: 60px;
position: absolute;
}
</style>
<google-map latitude="37.58146205867979" longitude="-121.77259993164063" zoom="11" id="google_map"></google-map>
<paper-button id="paper_button">button</paper-button>
<input id="input" placeholder="type something..." is="core-input">
<core-submenu id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment