File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -2357,8 +2357,19 @@ class Touch extends js.Object {
2357
2357
* text from hand-writing system like tablet PC, key events may not be fired.
2358
2358
*
2359
2359
* MDN
2360
+ *
2361
+ * Warning: keypress event is to be deprecated in favor of beforeinput event eventually
2362
+ *
2363
+ * W3C
2360
2364
*/
2361
2365
class KeyboardEvent extends UIEvent with ModifierKeyEvent {
2366
+ /**
2367
+ * Returns the Unicode value of a character key pressed during a keypress event.
2368
+ *
2369
+ * Note: Required especially in Gecko based browsers
2370
+ */
2371
+ def charCode : Int = ???
2372
+
2362
2373
/**
2363
2374
* A system and implementation dependent numerical code identifying the
2364
2375
* unmodified value of the pressed key. This is usually the decimal ASCII
You can’t perform that action at this time.
0 commit comments