Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <div class="percorso"v-on:removeall="pathlengthTozero()">
  2. </div>
  3.  
  4. Vue.component('lista-percorso', {
  5. template:`
  6. <div class="col-lg-2 col-xs-2">
  7. <div class="removeall pull-right" v-on:click="removeall()"></div>
  8. </div>`,
  9.  
  10. methods:{
  11. removeall : function(){
  12. this.listaSelezionati = [];
  13. this.$emit('removeall');
  14. }
  15. }
  16.  
  17. pathlengthTozero : function(){
  18. il_tuo_percorso = [''];
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement