diff --git a/ts/domtools.classes.keyboard.ts b/ts/domtools.classes.keyboard.ts index 216cafc..144d7c8 100644 --- a/ts/domtools.classes.keyboard.ts +++ b/ts/domtools.classes.keyboard.ts @@ -138,6 +138,8 @@ export class Keyboard { this.startListening(); } + public keyEnum = Key; + public on(keys: Key[] | KeyCombo[]) { const combos = this.toCombos(keys); const subject = new plugins.smartrx.rxjs.Subject();