Skip to content

Commit

Permalink
fix: reduce heading levels for Template Refs to match other pages (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
skirtles-code authored Oct 23, 2020
1 parent 0feab1c commit 238422b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/guide/composition-api-template-refs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Template Refs
# Template Refs

> This section uses [single-file component](single-file-component.html) syntax for code examples
Expand Down Expand Up @@ -35,7 +35,7 @@ Here we are exposing `root` on the render context and binding it to the div as i

Refs used as templates refs behave just like any other refs: they are reactive and can be passed into (or returned from) composition functions.

### Usage with JSX
## Usage with JSX

```js
export default {
Expand All @@ -53,7 +53,7 @@ export default {
}
```

### Usage inside `v-for`
## Usage inside `v-for`

Composition API template refs do not have special handling when used inside `v-for`. Instead, use function refs to perform custom handling:

Expand Down

0 comments on commit 238422b

Please sign in to comment.