Skip to content

Instantly share code, notes, and snippets.

@hellais
Created August 23, 2014 17:02
Show Gist options
  • Save hellais/dcc566ebed8f1d322300 to your computer and use it in GitHub Desktop.
Save hellais/dcc566ebed8f1d322300 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_item {
left: 170px;
top: 130px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 350px;
top: 150px;
position: absolute;
}
#core_field {
left: 390px;
top: 80px;
position: absolute;
}
</style>
<core-item id="core_item" icon="settings" label="Item" horizontal center layout></core-item>
<google-map id="google_map"></google-map>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon id="core_icon" icon="search"></core-icon>
<core-input placeholder="text input" inputvalue="hhhhhhh" value="hhhhhhh" id="core_input" flex></core-input>
</core-field>
</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