Skip to content

Instantly share code, notes, and snippets.

@wlopez
Created June 26, 2014 17:47
Show Gist options
  • Select an option

  • Save wlopez/911d96a27b385083c87a to your computer and use it in GitHub Desktop.

Select an option

Save wlopez/911d96a27b385083c87a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../notification-elements/notification-alert.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: 260px;
top: 440px;
position: absolute;
}
#google_map_search {
left: 240px;
top: 350px;
position: absolute;
}
#notification_alert {
left: 210px;
top: 210px;
position: absolute;
}
</style>
<google-map id="google_map"></google-map>
<google-map-search id="google_map_search"></google-map-search>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
</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