Skip to content

Higher level abstraction for keys #1

Description

@glenjamin
React.createClass({
hotkeys: function() {
  return {
    "?": this.toggleHelp
  }
});

This would allow the binding code to listen to keypress and keyup and match up keys based on input.

Maybe this should just use mousetrap internally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions