-import {Component} from "./component";
+import {Component} from './component';
/**
* Keys to ignore when recording shortcuts.
this.listenerRecordKey = this.listenerRecordKey.bind(this);
this.input.addEventListener('focus', () => {
- this.startListeningForInput();
+ this.startListeningForInput();
});
this.input.addEventListener('blur', () => {
this.stopListeningForInput();
- })
+ });
}
startListeningForInput() {
- this.input.addEventListener('keydown', this.listenerRecordKey)
+ this.input.addEventListener('keydown', this.listenerRecordKey);
}
/**
this.input.removeEventListener('keydown', this.listenerRecordKey);
}
-}
\ No newline at end of file
+}