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 support for iframe key capture. #109

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

Conversation

ysmood
Copy link

@ysmood ysmood commented Dec 11, 2013

Usage:

ikey = keymaster(
  document.getElementById('#iframe').contentWindow
);

ikey('ctrl+a', iframe_handler);

// Still compatible with the previous api.
key('ctrl+b', host_window_handler);

@Bucky24
Copy link

Bucky24 commented Aug 23, 2017

I'm also interested in having this sort of thing supported, how difficult would it be to get this updated and merged?

@jkupczak
Copy link

Any activity on this?

@elv1n
Copy link

elv1n commented Jun 23, 2019

If anyone needed I’ve rewrited keymaster https://github.com/elv1n/keybuddy and it supports creating a new instance with custom DOM element.

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.

4 participants