ember-key-responder
ember-key-responder copied to clipboard
cocoa inspired approach to keyboard event handling in ember
Installing this addon in a 2.x Ember application causes an error: > `Uncaught TypeError: Cannot read property 'extend' of undefined` I suspect from the stack trace this is due to...
Hi, Apologies if this is a dumb question. however is it possible to add/extend the key_events list? for example if i wanted to specifically listen for number presses (key events...
I'm interested in implementing something similar to [ember-keyboard-service](https://github.com/Fabriquartz/ember-keyboard-service#specifying-keyboard-combos). Rather than a handful of hard-coded key events, it supports listeners for the full keyboard, including a variety of modifier keys. If...
I've set up my views/application.js to the following: ``` javascript import Ember from 'ember'; export default Ember.View.extend({ acceptsKeyResponder: true, didInsertElement: function () { this.becomeKeyResponder(false); this._super.apply(this, arguments); }), willDestroyElement: function ()...
Is there a way to easily apply this boilerplate when you need the key-responder? Do I need to extend my components/views with something or is it a mixin, or? Thank...
The following is required to get the stack behavior. ``` js this.becomeKeyResponder(false); ``` I would like to propose the stack behavior should be the default. Maybe different API for each...
We should make the router the last item of the key responder chain, and dispatch events to active routes in a similar fashion to action handling. This would make it...
they currently screw stuff up., We should likely push them as a leaf-only entry onto the stack.
@lukemelia any ideas re: config?
- a view can be added more then once, but when it is destroyed not all instances are removed from the stack (bug) - we likely need to document good...