Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <link rel="import" href="../core-ajax/core-ajax.html">
  2. <link rel="import" href="../core-icon-button/core-icon-button.html">
  3. <link rel="import" href="../core-toolbar/core-toolbar.html">
  4. <link rel="import" href="../core-input/core-input.html">
  5.  
  6. <polymer-element name="my-element">
  7.  
  8. <template>
  9. <style>
  10. :host {
  11. position: absolute;
  12. width: 100%;
  13. height: 100%;
  14. box-sizing: border-box;
  15. opacity: 1;
  16. top: 0px;
  17. left: 0px;
  18. }
  19. #core_ajax {
  20. left: 460px;
  21. top: 170px;
  22. position: absolute;
  23. }
  24. #core_toolbar {
  25. right: 0px;
  26. left: 0px;
  27. color: rgb(255, 255, 255);
  28. fill: rgb(255, 255, 255);
  29. top: 0px;
  30. position: absolute;
  31. background-color: rgb(79, 125, 201);
  32. }
  33. #input {
  34. padding: 15px;
  35. left: 60px;
  36. top: 90px;
  37. position: absolute;
  38. }
  39. </style>
  40. <core-ajax url="{{ }}" handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
  41. <core-toolbar id="core_toolbar">
  42. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  43. <div id="div" flex>Kpolo</div>
  44. </core-toolbar>
  45. <input id="input" placeholder="type something..." is="core-input">
  46. </template>
  47.  
  48. <script>
  49.  
  50. Polymer({
  51.  
  52. });
  53.  
  54. </script>
  55.  
  56. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement