blob: 4ee31eb7f7123217670299a2c627518d71fe1102 [file] [log] [blame]
import {IXosKeyboardShortcutService, IXosKeyboardShortcutMap} from '../services/keyboard-shortcut';
import './key-binding-panel.scss';
class XosKeyBindingPanelController {
static $inject = ['$scope', 'XosKeyboardShortcut'];
public bindings: IXosKeyboardShortcutMap;
constructor (
private $scope: ng.IScope,
private XosKeyboardShortcut: IXosKeyboardShortcutService
) {
this.bindings = this.XosKeyboardShortcut.keyMapping;
}
}
export const xosKeyBindingPanel: angular.IComponentOptions = {
template: require('./key-binding-panel.html'),
controllerAs: 'vm',
controller: XosKeyBindingPanelController
};