Skip to content

Instantly share code, notes, and snippets.

@TakayoshiKochi
Created July 16, 2014 05:55
Show Gist options
  • Save TakayoshiKochi/2bb37cdbfc899f472681 to your computer and use it in GitHub Desktop.
Save TakayoshiKochi/2bb37cdbfc899f472681 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.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">
<link rel="import" href="../paper-input/paper-input.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;
}
#paper_button {
left: 90px;
top: 110px;
position: absolute;
}
#paper_checkbox {
left: 110px;
top: 220px;
position: absolute;
}
#paper_input {
width: 170px;
height: 20px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 500px;
top: 20px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 90px;
top: 310px;
position: absolute;
}
</style>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
<paper-input label="Type something..." inputvalue="aa" value="aa" id="paper_input"></paper-input>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
<google-map id="google_map"></google-map>
</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