Created
November 20, 2014 17:03
-
-
Save physiocoder/fe6f63d7050880aeca5b to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../core-input/core-input.html"> | |
| <link rel="import" href="../core-menu-button/core-menu-button.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #input { | |
| padding: 15px; | |
| left: 40px; | |
| top: 40px; | |
| position: absolute; | |
| } | |
| #core_menu_button { | |
| left: 50px; | |
| top: 100px; | |
| position: absolute; | |
| } | |
| #core_item { | |
| left: 190px; | |
| top: 100px; | |
| position: absolute; | |
| width: 100px; | |
| height: 40px; | |
| } | |
| </style> | |
| <input id="input" placeholder="type something..." is="core-input"> | |
| <core-menu-button id="core_menu_button" icon="more-vert" selected="0" relative> | |
| <core-item id="core_item1" icon="content-copy" label="Copy" horizontal center layout></core-item> | |
| <core-item id="core_item2" icon="content-paste" label="Paste" horizontal center layout></core-item> | |
| </core-menu-button> | |
| <core-item id="core_item" icon="content-cut" label="Cut" horizontal center layout></core-item> | |
| </template> | |
| <script> | |
| Polymer({ | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment