We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3ae3e commit df066c9Copy full SHA for df066c9
tests/ref.html
@@ -4,9 +4,13 @@
4
</script>
5
6
<div
7
+ id="root"
8
+ ref="root"
9
v-scope="{ dynamicRef: 'x', show: true }"
10
v-effect="console.log({ x: $refs.x, y: $refs.y, input: $refs.input })"
11
>
12
+ <p>Accessing root el: id is {{ $refs.root.id }}</p>
13
+
14
<input ref="input" />
15
<span v-if="show" :ref="dynamicRef">Span with dynamic ref</span>
16
<p>dynamicRef is {{ dynamicRef }}</p>
0 commit comments