Closed KazariEX closed 2 months ago
It is a new feature of Vue 3.5 and there is no documentation yet.
https://github.com/vuejs/core/blob/main/packages/runtime-core/src/helpers/useTemplateRef.ts
FYI: Vue 3.5 with useTemplateRef
was released two days ago: https://blog.vuejs.org/posts/vue-3-5#usetemplateref
Now it is the most recommended way to use template ref https://vuejs.org/guide/essentials/template-refs.html#accessing-the-refs. Hope it can be merged soon 😄 .
Thanks! But can you please elaborate on the change? Where is
useTemplateRef
documented? Is it a native Vue feature?