Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue watch child property

...
watch:{
    'item.someOtherProp'(newVal){
        //to work with changes in "myArray"
    },
    'item.prop'(newVal){
        //to work with changes in prop
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vue #watch #child #property
ADD COMMENT
Topic
Name
5+8 =