Answers for "vue watch child property"

3

vue watch child property

...
watch:{
    'item.someOtherProp'(newVal){
        //to work with changes in "myArray"
    },
    'item.prop'(newVal){
        //to work with changes in prop
    }
}
Posted by: Guest on September-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language