Last active
October 6, 2015 13:22
-
-
Save bjorncoltof/4f47f7072717455a793a 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="../ace-element/ace-element.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #ace_element { | |
| width: 400px; | |
| height: 300px; | |
| left: 290px; | |
| top: 180px; | |
| position: absolute; | |
| } | |
| #ace_element1 { | |
| width: 530px; | |
| height: 360px; | |
| left: 230px; | |
| top: 280px; | |
| position: absolute; | |
| } | |
| </style> | |
| <span>{{ name }}</span> | |
| <ace-element id="ace_element">function test() { | |
| var x = true; | |
| }</ace-element> | |
| <ace-element id="ace_element1">function test() { | |
| var x = true; | |
| }</ace-element> | |
| </template> | |
| <script> | |
| Polymer({ | |
| is: 'my-element', | |
| properties: { | |
| "name": { | |
| "value": "Bjorn" | |
| } | |
| } | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment