You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/v2/guide/components.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1011,7 +1011,7 @@ var parent = new Vue({ el: '#parent' })
1011
1011
var child =parent.$refs.profile
1012
1012
```
1013
1013
1014
-
When `ref` is used together with `v-for`, the ref you get will be an array or an object containing the child components mirroring the data source.
1014
+
When `ref` is used together with `v-for`, the ref you get will be an array containing the child components mirroring the data source.
1015
1015
1016
1016
<pclass="tip">`$refs` are only populated after the component has been rendered, and it is not reactive. It is only meant as an escape hatch for direct child manipulation - you should avoid using `$refs` in templates or computed properties.</p>
0 commit comments