Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sys1yagi
Created June 25, 2014 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sys1yagi/bf969c5e76feaa652682 to your computer and use it in GitHub Desktop.
Save sys1yagi/bf969c5e76feaa652682 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.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;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 60px;
top: 80px;
position: absolute;
}
#div {
left: 60px;
top: 60px;
position: absolute;
}
#notification_alert {
left: 740px;
top: 290px;
position: absolute;
}
#notification_alert1 {
left: 750px;
top: 350px;
position: absolute;
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<google-map id="google_map"></google-map>
<div id="div">Google Map!</div>
</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