Skip to content

Commit

Permalink
docs: update ref attribute example (#2991)
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Oct 14, 2024
1 parent e11cb18 commit 921e6ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/built-in-special-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ Určuje [Template ref](/guide/essentials/template-refs).

```vue
<script setup>
import { ref } from 'vue'
import { useTemplateRef } from 'vue'
const p = ref()
const pRef = useTemplateRef('p')
</script>
<template>
Expand Down

0 comments on commit 921e6ca

Please sign in to comment.