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

Event delegation, sharing document bound handlers #356

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

opichals
Copy link

@opichals opichals commented Aug 8, 2016

Implemented by traversing an targetElement-bound list of mousetrap instances
(mousetraps) and upwards the document tree (see _handleKeyEvent).

The #_addEvent called from #init

Standa Opichal added 4 commits August 8, 2016 16:54
Implemented by traversing an targetElement-bound list of mousetrap instances
(mousetraps) and upwards the document tree (see _handleKeyEvent).

The #_addEvent called from #init
@opichals opichals force-pushed the document-handler-event-delegation branch from 3134146 to d7e1b57 Compare August 8, 2016 15:12
opichals added a commit to opichals/react-hotkeys that referenced this pull request Sep 6, 2016
Utilizing mousetrap with Event delegation, sharing document
bound handlers:
 * ccampbell/mousetrap#356
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.

1 participant