0 votes
in VueJS by
How do you access parent instance?

1 Answer

0 votes
by

The $parent object refers to the immediate outer scope. The parent will be accessible as this.$parent for the child, and the child will be pushed into the parent’s $children array. It establishes a parent-child relationship between the two instances(parent and child). You can access parent data and properties similar to $root.

Related questions

0 votes
asked Sep 12, 2023 in VueJS by AdilsonLima
0 votes
asked Sep 14, 2023 in VueJS by AdilsonLima
...