Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.24.0/babel.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/vue-resource@1.5.1"></script>
- <link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons' rel="stylesheet">
- <script src="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.js"></script>
- <link href="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.min.css" rel="stylesheet">
- <jsp:include page="components/location_component.jsp"></jsp:include>
- <div id="app">
- <v-app>
- <v-container>
- <location @workstationchange="handleWorkstationChange($event)"></location>
- </v-container>
- </v-app>
- </div>
- </div>
- <script>
- var app = new Vue({
- el : '#app',
- data : {
- workstationSelected : null,
- },
- methods : {
- handleWorkstationChange : function(id) {
- this.workstationSelected = id
- }
- },
- mounted: function(){
- }
- })
- </script>
Add Comment
Please, Sign In to add comment