Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <dom-module id="interfaced-el">
  2.  
  3. <template>
  4. </template>
  5.  
  6. <script>
  7.  
  8. Polymer({
  9.  
  10. is: 'interfaced-el',
  11.  
  12. properties: {
  13.  
  14. // Public properties
  15.  
  16. path: String,
  17.  
  18. options: {
  19. type: Object,
  20. notify: true
  21. },
  22.  
  23.  
  24. // Public methods
  25.  
  26. go: function () {
  27. this.invokeRequest()
  28. }
  29.  
  30. },
  31.  
  32. // Private properties
  33.  
  34. request: Object,
  35.  
  36.  
  37. // Private methods
  38.  
  39. invokeRequest: function () {
  40. this.request.invoke()
  41. }
  42.  
  43. })
  44.  
  45. </script>
  46.  
  47. </dom-module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement