-
Notifications
You must be signed in to change notification settings - Fork 77
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
expose doUpdate
to API
#80
Comments
Interesting! That sounds pretty simple to implement. Do you have a scenario that I could create locally to test against when I add this? |
Hi, @dailyraisin @ten1seven I am interested in the same feature.
It would be very useful to have access to function like @ten1seven let me know what you think |
Hi @sophieH29, I'm digging into this request. Are you push a specific input to what-input and trigger a whatInput.setInput('keyboard'); |
Hi @ten1seven, I would rather say just to make current function onKeyDown = (ev) => {
...
whatInput.setInput(ev)
...
} |
@ten1seven do you plan to make this update to the library? |
In cases where one wants to prevent default key events (e.g. stopping, preventDefault), it would be necessary to call
doUpdate('intent')
manually from the outside as whatInput listeners will not be reached.The text was updated successfully, but these errors were encountered: