Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/main/scala/org/scalajs/dom/lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2357,8 +2357,19 @@ class Touch extends js.Object {
* text from hand-writing system like tablet PC, key events may not be fired.
*
* MDN
*
* Warning: keypress event is to be deprecated in favor of beforeinput event eventually
*
* W3C
*/
class KeyboardEvent extends UIEvent with ModifierKeyEvent {
/**
* Returns the Unicode value of a character key pressed during a keypress event.
*
* Note: Required especially in Gecko based browsers
*/
def charCode: Int = ???

/**
* A system and implementation dependent numerical code identifying the
* unmodified value of the pressed key. This is usually the decimal ASCII
Expand Down