define templateRef separately. #7348
yogeshgalav
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be much easier to define, recognize and use template refs if they were defined separately like props and emits.
const myComponents = defineTemplateRef({'myComponent'});
myComponents.myComponent.hide();
Beta Was this translation helpful? Give feedback.
All reactions