Guest User

Untitled

a guest
Dec 12th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.24.0/babel.js"></script>
  2. <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  3. <script src="https://cdn.jsdelivr.net/npm/vue-resource@1.5.1"></script>
  4. <link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons' rel="stylesheet">
  5. <script src="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.js"></script>
  6. <link href="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.min.css" rel="stylesheet">
  7. <jsp:include page="components/location_component.jsp"></jsp:include>
  8.  
  9. <div id="app">
  10. <v-app>
  11. <v-container>
  12. <location @workstationchange="handleWorkstationChange($event)"></location>
  13.  
  14. </v-container>
  15. </v-app>
  16. </div>
  17. </div>
  18.  
  19. <script>
  20. var app = new Vue({
  21. el : '#app',
  22. data : {
  23. workstationSelected : null,
  24. },
  25. methods : {
  26. handleWorkstationChange : function(id) {
  27. this.workstationSelected = id
  28. }
  29. },
  30. mounted: function(){
  31.  
  32. }
  33. })
  34. </script>
Add Comment
Please, Sign In to add comment