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

pass listeners to input element #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

pass listeners to input element #66

wants to merge 1 commit into from

Conversation

btkostner
Copy link

used GitHub editor

This allows any listeners on the component to be passed down to the input field. This allows all the events like blur to work as expected without having to manually specify all of them.

@nywton
Copy link

nywton commented Dec 19, 2018

@btkostner Is there a way to catch the keydown event manually in the current version?

@btkostner
Copy link
Author

@nywton not with Vue. You could manually query for an input element and add a listener, but I would recommend against that because you will lose a lot of the nice Vue benefits.

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

Successfully merging this pull request may close these issues.

None yet

2 participants