HotkeysMixin Class
A mixin to enhance an Ember.View
with hotkey support.
To use, inherit this mixin in your view:
MyView = Em.View.extend(HotkeysMixin, {
hotkeysBindings: ['ctrl-a']
actions: {
'ctrl-a': function() {
console.log("Ctrl-a was pressed!");
}
}
});
Item Index
Properties
Properties
concatenatedProperties
Array
Add hotkeysBindings
property as a concatenatedProperties
.