Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../paper-toast/paper-toast.html">
- <link rel="import" href="../core-tooltip/core-tooltip.html">
- <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">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #paper_button {
- left: 1380px;
- top: 620px;
- }
- #paper_fab {
- left: 620px;
- top: 110px;
- position: absolute;
- }
- #paper_toast {
- left: 220px;
- top: 40px;
- position: absolute;
- }
- #core_tooltip {
- left: 710px;
- top: 70px;
- position: absolute;
- width: 20px;
- height: 0px;
- }
- </style>
- <paper-toast text="Toast!" id="paper_toast" touch-action="none" class="core-transition-bottom core-transition"></paper-toast>
- <core-tooltip label="Keep on pressing!" id="core_tooltip">
- <paper-fab icon="create" active="{{ $.paper_toast.opened }}" id="paper_fab"></paper-fab>
- </core-tooltip>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement