Skip to content

Instantly share code, notes, and snippets.

@hateum
Created July 16, 2014 12:41
Show Gist options
  • Save hateum/9ea817fb3b82aa9e6fac to your computer and use it in GitHub Desktop.
Save hateum/9ea817fb3b82aa9e6fac 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">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#notification_alert {
left: 600px;
top: 180px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 300px;
top: 70px;
position: absolute;
}
#paper_button {
left: 560px;
top: 480px;
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>
<paper-button label="Paper Button" raisedbutton id="paper_button"></paper-button>
</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