Skip to content

Instantly share code, notes, and snippets.

@dsbw
Last active August 29, 2015 14:09
Show Gist options
  • Save dsbw/474d119119d9fe1270ba to your computer and use it in GitHub Desktop.
Save dsbw/474d119119d9fe1270ba to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_field {
left: 0px;
top: 0px;
position: absolute;
}
#paper_toast {
left: 650px;
top: 510px;
position: absolute;
}
</style>
<paper-toast text="Toast!" id="paper_toast" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment