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

Overriding default browser commands #30

Open
Ajamuar opened this issue Jul 28, 2020 · 0 comments
Open

Overriding default browser commands #30

Ajamuar opened this issue Jul 28, 2020 · 0 comments
Assignees
Labels
Feature Request This is a feature request

Comments

@Ajamuar
Copy link

Ajamuar commented Jul 28, 2020

I would like to override CMD+F to call my own function. At this point, I don't see a way to do it.

Solution
Returning the event object back in the callback can allow the user to preventDefault().

@Ajamuar Ajamuar added the Feature Request This is a feature request label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants