Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <link rel="import" href="../cool-clock/cool-clock.html">
  2. <link rel="import" href="../code-mirror/code-mirror.html">
  3. <link rel="import" href="../notification-elements/notification-alert.html">
  4.  
  5. <polymer-element name="my-element">
  6.  
  7. <template>
  8. <style>
  9. :host {
  10. position: absolute;
  11. width: 100%;
  12. height: 100%;
  13. box-sizing: border-box;
  14. }
  15. #code_mirror {
  16. width: 200px;
  17. height: 100px;
  18. left: 120px;
  19. top: 50px;
  20. position: absolute;
  21. }
  22. #cool_clock {
  23. width: 400px;
  24. height: 300px;
  25. left: 430px;
  26. top: 140px;
  27. position: absolute;
  28. }
  29. #notification_alert {
  30. left: 0px;
  31. top: 0px;
  32. position: absolute;
  33. width: 100%;
  34. height: 100%;
  35. }
  36. </style>
  37. <cool-clock id="cool_clock"></cool-clock>
  38. <code-mirror value="<polymer-element name='my-element'>
  39. <template></template>
  40. <script>
  41. Polymer('my-element', {});
  42. </script>
  43. </polymer-element>" theme="twilight" tabsize="4" id="code_mirror"><polymer-element name='my-element'>
  44. <template></template>
  45. <script>
  46. Polymer('my-element', {});
  47. </script>
  48. </polymer-element></code-mirror>
  49. <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
  50. </template>
  51.  
  52. <script>
  53.  
  54. Polymer({
  55.  
  56. });
  57.  
  58. </script>
  59.  
  60. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement