@JsType(isNative=true) public class KeyboardEvent extends SyntheticEvent
| Modifier and Type | Field and Description |
|---|---|
boolean |
altKey |
int |
charCode |
boolean |
ctrlKey |
java.lang.String |
key |
int |
keyCode |
java.lang.String |
locale |
int |
location |
boolean |
metaKey |
boolean |
repeat |
boolean |
shiftKey |
int |
which |
bubbles, cancelable, currentTarget, defaultPrevented, eventPhase, isTrusted, nativeEvent, target, timeStamp, type| Constructor and Description |
|---|
KeyboardEvent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getModifierState(java.lang.String key) |
preventDefault, stopPropagationpublic boolean altKey
public int charCode
public boolean ctrlKey
public java.lang.String key
public int keyCode
public java.lang.String locale
public int location
public boolean metaKey
public boolean repeat
public boolean shiftKey
public int which