Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue watch object member

// Use a deep watcher for that:

watch: {
  item: {
     handler(val){
       // do stuff
     },
     deep: true
  }
}
 
PREVIOUS NEXT
Tagged: #vue #watch #object #member
ADD COMMENT
Topic
Name
1+4 =