Skip to content

Instantly share code, notes, and snippets.

@tejo
Created July 26, 2014 01:20
Show Gist options
  • Save tejo/6070dbd3755c624af0af to your computer and use it in GitHub Desktop.
Save tejo/6070dbd3755c624af0af 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="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_button {
left: 210px;
top: 50px;
position: absolute;
width: 180px;
height: 60px;
}
#paper_checkbox {
left: 260px;
top: 110px;
position: absolute;
}
#paper_toast {
left: 800px;
top: 450px;
position: absolute;
}
#paper_toast1 {
left: 770px;
top: 440px;
position: absolute;
}
#paper_slider {
left: 270px;
top: 180px;
position: absolute;
}
</style>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" class="core-transition core-transition-bottom"></paper-toast>
<paper-slider immediatevalue="0" id="paper_slider"></paper-slider>
</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