Skip to content

Reduce heading levels for Template Refs to match other pages #638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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