ComponentInstance of generic component #12251
Answered
by
jh-leong
AudunK
asked this question in
Help/Questions
-
How can one get a instanceref of a generic component? |
Beta Was this translation helpful? Give feedback.
Answered by
jh-leong
Oct 25, 2024
Replies: 2 comments
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AudunK
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
useTemplateRef
, which will automatically infer the exposed type from the component. Here's a Playground