Is there an implicit reference to the current component? #7648
Unanswered
tvogel
asked this question in
Help/Questions
Replies: 1 comment 1 reply
-
By using Hope this helps :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As a newbie, I am wondering whether there is any way, I can refer to the current component's attributes and methods from an
@click
handler without giving the component an explicit name viaref="someref"
? It seems to me, it could be useful to have some special ref that always refers to the current component when used inside a handler, e.g.$self
or something like that. Also, what isthis
in this context? Could that be used? It does not seem to be the component.Beta Was this translation helpful? Give feedback.
All reactions