D
D
danilr2019-04-24 06:22:13
Vue.js
danilr, 2019-04-24 06:22:13

How to reactively pass the value of a computed property to a Vue parent?

In the child, a computed property is defined; when some changes are made, it is always recalculated. How can I pass the value of this property to the parent?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2019-04-24
@danilr

Inside computed do this.$emit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question