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

how l can disable events on Knob? #23

Open
matador96 opened this issue Jul 26, 2020 · 2 comments
Open

how l can disable events on Knob? #23

matador96 opened this issue Jul 26, 2020 · 2 comments

Comments

@matador96
Copy link

Hello, how l can disable any events (like onClick or onKeyDown) on Knob?

@eskimoblood
Copy link
Owner

Mhmm, that's something I've overlooked yet. But in the end it's easy as all it needs is a disabled flag that will prevent the adding of the events to the outer div. Do you feel comfortable to open an PR for it or should I do it, but I'm not sure when I will find time for it.

@matador96
Copy link
Author

Mhmm, that's something I've overlooked yet. But in the end it's easy as all it needs is a disabled flag that will prevent the adding of the events to the outer div. Do you feel comfortable to open an PR for it or should I do it, but I'm not sure when I will find time for it.

Yeah, l know that, but l think maybe have default functions or props for this.

Thanks for answer ;)

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

No branches or pull requests

2 participants