Skip to content

Instantly share code, notes, and snippets.

@jami-i
Last active August 29, 2015 14:11
Show Gist options
  • Save jami-i/19a42395910c51537b90 to your computer and use it in GitHub Desktop.
Save jami-i/19a42395910c51537b90 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#div {
left: 100px;
top: 70px;
position: absolute;
}
#paper_toggle_button {
left: 200px;
top: 90px;
position: absolute;
}
#paper_toast {
left: 120px;
top: 130px;
position: absolute;
}
#paper_toast1 {
left: 90px;
top: 160px;
position: absolute;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 20px;
top: 150px;
position: absolute;
}
</style>
<div id="div" layout horizontal>
<paper-fab icon="check" id="paper_fab"></paper-fab>
</div>
<paper-toggle-button id="paper_toggle_button"></paper-toggle-button>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment