Manages the grouping of key combos and handlers, and (un)binds combos at appropriate moments using Mousetrap.
addHandler(handler);
| Param | Type | Details | 
|---|---|---|
| handler | object | Handler object that should contain at least: 
 You can add any additional properties that you may want to use later (e.g., you can pass a  | 
| function | Function to remove the handler. | 
bindCombo(combo);
Binds triggerHandlers() to the specified key combo using Mousetrap.
| Param | Type | Details | 
|---|---|---|
| combo | string | 
unbindCombo(combo);
Unbinds the specified key combo using Mousetrap.
| Param | Type | Details | 
|---|---|---|
| combo | string | 
triggerHandlers(handlers, event, combo);
Triggers the appropriate handlers in the provided group. This means in any case the last one,
and the next handler for each handler that returns true.
| Param | Type | Details | 
|---|---|---|
| handlers | array | |
| event | object | |
| combo | string | 
comboGroups| Contains all currently active handlers, grouped by key combo. |