propsData

The props that are being passed into the component instance. This essentially exposes the component's parent data and allows you to update prop values on the fly.

Vue handles prop changes asynchronously which means that if you change a prop, you must wait until the next render cycle before your component is updated with the new value.

vm.propsData.foo = 'bah';
await vm.$nextTick();
vm.computedFromFoo === 'bah';

results matching ""

    No results matching ""