Skip to content

Commit 9be6368

Browse files
fix: fixed indentation
1 parent 7de6190 commit 9be6368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/special-attributes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
<child-component :ref="(el) => child = el"></child-component>
4949
```
5050

51-
When used on elements/components with `v-for`, the registered reference will be an Array containing DOM nodes or component instances.
51+
When used on elements/components with `v-for`, the registered reference will be an Array containing DOM nodes or component instances.
5252

53-
An important note about the ref registration timing: because the refs themselves are created as a result of the render function, you cannot access them on the initial render - they don't exist yet! `$refs` is also non-reactive, therefore you should not attempt to use it in templates for data-binding.
53+
An important note about the ref registration timing: because the refs themselves are created as a result of the render function, you cannot access them on the initial render - they don't exist yet! `$refs` is also non-reactive, therefore you should not attempt to use it in templates for data-binding.
5454

5555
- **See also:** [Child Component Refs](../guide/component-template-refs.html)
5656

0 commit comments

Comments
 (0)