Skip to content
Discussion options

You must be logged in to vote

So in the JS, $el doesn't refer to anything. It's directly being used as an identifier.

binding objects allow string expressions. So you could do ['@keyup']: 'console.log($el)' to directly be able to use the magics.

Otherwise, I think this.$el could work (feels like it should but I don't immediately remember)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by devops-at-alinea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants