Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <link rel="import" href="../ace-element/ace-element.html">
  2.  
  3. <polymer-element name="my-element">
  4.  
  5. <template>
  6. <style>
  7. :host {
  8. position: absolute;
  9. width: 100%;
  10. height: 100%;
  11. box-sizing: border-box;
  12. }
  13. #ace_element {
  14. width: 400px;
  15. height: 300px;
  16. left: 230px;
  17. top: 100px;
  18. position: absolute;
  19. }
  20. </style>
  21. <ace-element id="ace_element">function test() {
  22. var x = true;
  23. }</ace-element>
  24. </template>
  25.  
  26. <script>
  27.  
  28. Polymer({
  29.  
  30. });
  31.  
  32. </script>
  33.  
  34. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement