Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dom-module id="interfaced-el">
- <template>
- </template>
- <script>
- Polymer({
- is: 'interfaced-el',
- properties: {
- // Public properties
- path: String,
- options: {
- type: Object,
- notify: true
- },
- // Public methods
- go: function () {
- this.invokeRequest()
- }
- },
- // Private properties
- request: Object,
- // Private methods
- invokeRequest: function () {
- this.request.invoke()
- }
- })
- </script>
- </dom-module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement