passing $refs inner component vue code example
Example: passing $refs inner component vue
<user>
<user-item ref="details"></user-item>
<permissions :parentRefs="$refs"></permissions>
</user>
<user>
<user-item ref="details"></user-item>
<permissions :parentRefs="$refs"></permissions>
</user>