Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <link rel="import" href="../paper-slider/paper-slider.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. #core_card {
  14. position: absolute;
  15. width: 300px;
  16. height: 300px;
  17. border-radius: 2px;
  18. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  19. left: 190px;
  20. top: 220px;
  21. background-color: rgb(255, 255, 255);
  22. }
  23. </style>
  24. <core-card id="core_card" layout vertical>
  25. <div>{{ immediateValue }}</div>
  26. <paper-slider immediateValue="immediateValue" pin value="{{ handicap }}" max="36" id="paper_slider"></paper-slider>
  27. </core-card>
  28. </template>
  29.  
  30. <script>
  31.  
  32. Polymer({
  33. handicap: 16
  34. });
  35.  
  36. </script>
  37.  
  38. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement