Skip to content

Commit 99590c7

Browse files
committed
update v-ref doc
1 parent 5af13fb commit 99590c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/api/directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Compile this element as a child ViewModel with a registered component constructo
190190

191191
### v-ref
192192

193-
Only respected when used in combination with `v-component`, `v-with` or `v-repeat`. The ViewModel will be accessible in its parent's `$` object, e.g. `parent.$[id]`. When used with `v-repeat`, the value will be an Array containing the child ViewModel instances corresponding to the Array they are bound to. For examples see [Accessing Child Components](/guide/composition.html#Accessing_Child_Components).
193+
Only respected when used in combination with directives that create child components: `v-component`, `v-view`, `v-if` or `v-repeat`. The ViewModel will be accessible in its parent's `$` object, e.g. `parent.$[id]`. When used with `v-repeat`, the value will be an Array containing the child ViewModel instances corresponding to the Array they are bound to. For examples see [Accessing Child Components](/guide/composition.html#Accessing_Child_Components).
194194

195195
### v-partial
196196

0 commit comments

Comments
 (0)