Skip to content

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