Skip to content

Instantly share code, notes, and snippets.

@ferlyz05
Created July 14, 2014 03:26
Show Gist options
  • Save ferlyz05/72d03a85eaf6ad3a98fc to your computer and use it in GitHub Desktop.
Save ferlyz05/72d03a85eaf6ad3a98fc 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-toast/paper-toast.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#notification_alert {
left: 360px;
top: 450px;
position: absolute;
}
#notification_alert1 {
left: 400px;
top: 470px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
#paper_toast {
left: 560px;
top: 70px;
position: absolute;
}
#paper_input {
left: 400px;
top: 0px;
position: absolute;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 580px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<google-map id="google_map"></google-map>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast>
<paper-input label="Type something..." id="paper_input"></paper-input>
<core-animated-pages transitions="{{ }}" selected="{{ }}" multi selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
</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