Skip to content

How to add key events to vueflow? #287

Answered by bcakmakoglu
AlexanderYW asked this question in Q&A
Discussion options

You must be logged in to vote

The Vue Flow element is just a regular div so technically it should work but you'd probably be better of just listening to the global key events instead of trying to add them to that specific element, which would force you to have to focus the element before being able to send the event.

What exactly is your use or goal? Maybe there's another way :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AlexanderYW
Comment options

@AlexanderYW
Comment options

@bcakmakoglu
Comment options

Answer selected by bcakmakoglu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants