Skip to content

Instantly share code, notes, and snippets.

@timka
Last active August 29, 2015 14:06
Show Gist options
  • Save timka/6204e1a4aa24c6b9d5ea to your computer and use it in GitHub Desktop.
Save timka/6204e1a4aa24c6b9d5ea to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#paper_toast {
left: 590px;
top: 410px;
position: absolute;
}
#paper_checkbox {
left: 480px;
top: 300px;
position: absolute;
}
</style>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast>
<paper-checkbox checked label="Toast!" id="paper_checkbox"></paper-checkbox>
</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