Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next/previous slice key binding #761

Closed
arturojain opened this issue Jul 10, 2020 · 2 comments
Closed

next/previous slice key binding #761

arturojain opened this issue Jul 10, 2020 · 2 comments
Labels
question Further information is requested
Milestone

Comments

@arturojain
Copy link

I see ctrl + arrow left/right on macOS changes spaces too. Is there a function we can call to create our own keyboard bindings?

@ivmartel ivmartel added the question Further information is requested label Aug 25, 2020
@ivmartel ivmartel added this to the 0.28.0 milestone Aug 25, 2020
@ivmartel
Copy link
Owner

Yes, since v0.27.0 it is up to the client to set the event handlers. dwv provides a default onKeyDown that you can use or you can set your own. Check out the demo apps to see how this is done.

@arturojain
Copy link
Author

Thanks! I have modified to implement my own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants