From 69e1b52e7221e7e5659029e1eeab91bd932e6903 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 21 Apr 2022 19:16:06 +0200 Subject: [PATCH] fix(core): update --- ts/domtools.classes.keyboard.ts | 2 ++ 1 file changed, 2 insertions(+) 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();