Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Vuejs trigger function on route change

watch:{
    $route (to, from){
        this.show = false;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Vuejs #trigger #function #route #change
ADD COMMENT
Topic
Name
2+3 =