File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- ## Template Refs
1
+ # Template Refs
2
2
3
3
> This section uses [ single-file component] ( single-file-component.html ) syntax for code examples
4
4
@@ -35,7 +35,7 @@ Here we are exposing `root` on the render context and binding it to the div as i
35
35
36
36
Refs used as templates refs behave just like any other refs: they are reactive and can be passed into (or returned from) composition functions.
37
37
38
- ### Usage with JSX
38
+ ## Usage with JSX
39
39
40
40
``` js
41
41
export default {
@@ -53,7 +53,7 @@ export default {
53
53
}
54
54
```
55
55
56
- ### Usage inside ` v-for `
56
+ ## Usage inside ` v-for `
57
57
58
58
Composition API template refs do not have special handling when used inside ` v-for ` . Instead, use function refs to perform custom handling:
59
59
You can’t perform that action at this time.
0 commit comments