From 0dc8a83bb4474c037617526316e6fcc84199b613 Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Tue, 27 Jan 2015 21:42:17 +0400 Subject: [PATCH] Add KeyboardEvent.charCode --- .../src/main/java/org/teavm/dom/events/KeyboardEvent.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teavm-dom/src/main/java/org/teavm/dom/events/KeyboardEvent.java b/teavm-dom/src/main/java/org/teavm/dom/events/KeyboardEvent.java index 2b5b2e5df..f1755e019 100644 --- a/teavm-dom/src/main/java/org/teavm/dom/events/KeyboardEvent.java +++ b/teavm-dom/src/main/java/org/teavm/dom/events/KeyboardEvent.java @@ -39,6 +39,9 @@ public interface KeyboardEvent extends Event { @JSProperty String getCode(); + @JSProperty + int getCharCode(); + @JSProperty int getLocation();