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

Add function for registering event hooks. #7

Closed
RobertWHurst opened this issue Dec 5, 2011 · 1 comment
Closed

Add function for registering event hooks. #7

RobertWHurst opened this issue Dec 5, 2011 · 1 comment
Labels
Request Feature request or idea related issues.

Comments

@RobertWHurst
Copy link
Owner

I will be adding a function that allows a user to register a function that will run each time the "executeActiveKeyBindings" is executed. This will allow people to watch the internal state of KeyboardJS and inject additional functionality.

I'm open to suggestions on how what kind of arguments one would expect the user's hook callback to be passed.

@RobertWHurst
Copy link
Owner Author

This is something that I want to get right so I'm going to hold off until I have a solid understanding of how and where to add hooks. I don't want to enable access to the core if programming ninjas are going to do things in there that they shouldn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Feature request or idea related issues.
Projects
None yet
Development

No branches or pull requests

1 participant