object KeyValue
The KeyboardEvent.key attribute of an event must always contain one of these control key or character values (even if the value is 'Unidentified').
If the key represents one of the set of printable control characters which has a Unicode character entry, such as the tab key, the KeyboardEvent.key attribute must have the key value (e.g., 'Tab').
Implementations that are unable to identify a key must use the key value 'Unidentified'.
Taken from http://www.w3.org/TR/DOM-Level-3-Events/#keys-special
- Alphabetic
- By Inheritance
- KeyValue
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
val
Accept: String("Accept")
The Accept (Commit, OK) key.
The Accept (Commit, OK) key. Accept current option or input method sequence conversion.
-
final
val
Again: String("Again")
The Again key, to redo or repeat an action.
-
final
val
Alt: String("Alt")
The Alternative (Alt, Option, Menu) key.
The Alternative (Alt, Option, Menu) key. Enable alternate modifier function for interpreting concurrent or subsequent keyboard input. This key value is also used for the Apple 'Option' key.
-
final
val
AltGraph: String("AltGraph")
The Alternate Graphics (AltGr or AltGraph) key.
The Alternate Graphics (AltGr or AltGraph) key. This key is used enable the ISO Level 3 shift modifier (the standard 'Shift' key is the level 2 modifier).
-
final
val
ArrowDown: String("ArrowDown")
The down arrow key, to navigate or traverse downward.
-
final
val
ArrowLeft: String("ArrowLeft")
The left arrow key, to navigate or traverse leftward.
-
final
val
ArrowRight: String("ArrowRight")
The right arrow key, to navigate or traverse rightward.
-
final
val
ArrowUp: String("ArrowUp")
The up arrow key, to navigate or traverse upward.
-
final
val
Attn: String("Attn")
The Attention (Attn) key.
-
final
val
Backspace: String("Backspace")
The Backspace key.
The Backspace key. This key value is also used for the key labeled 'delete' on MacOS keyboards.
-
final
val
BrowserBack: String("BrowserBack")
Navigate to previous content or page in current history.
-
final
val
BrowserFavorites: String("BrowserFavorites")
The Browser Favorites key.
-
final
val
BrowserForward: String("BrowserForward")
Navigate to next content or page in current history.
-
final
val
BrowserHome: String("BrowserHome")
The Browser Home key, used with keyboard entry, to go to the home page.
-
final
val
BrowserRefresh: String("BrowserRefresh")
The Browser Refresh key, to refresh the current page or content.
-
final
val
BrowserSearch: String("BrowserSearch")
The Browser Search key, to call up the user's preferred search page.
-
final
val
BrowserStop: String("BrowserStop")
The Browser Stop key, to stop loading the current page or content.
-
final
val
Cancel: String("Cancel")
The Cancel key.
-
final
val
CapsLock: String("CapsLock")
The Caps Lock (Capital) key.
The Caps Lock (Capital) key. Toggle capital character lock function for interpreting subsequent keyboard input event.
-
final
val
Clear: String("Clear")
The Clear key, for removing current selected input.
-
final
val
ContextMenu: String("ContextMenu")
Show the application's context menu.
Show the application's context menu. This key is commonly found between the right 'OS' key and the right 'Control' key.
-
final
val
Control: String("Control")
The Control (Ctrl) key, to enable control modifier function for interpreting concurrent or subsequent keyboard input.
-
final
val
Copy: String("Copy")
The Copy key.
-
final
val
CrSel: String("CrSel")
The Cursor Select (Crsel) key.
-
final
val
Cut: String("Cut")
The Cut key.
-
final
val
Delete: String("Delete")
The Delete (Del) Key.
The Delete (Del) Key. This key value is also used for the key labeled 'delete' on MacOS keyboards when modified by the 'Fn' key.
-
final
val
End: String("End")
The End key, used with keyboard entry to go to the end of content.
-
final
val
Enter: String("Enter")
The Enter key, to activate current selection or accept current input.
The Enter key, to activate current selection or accept current input. This key value is also used for the 'Return' (Macintosh numpad) key.
-
final
val
EraseEof: String("EraseEof")
The Erase to End of Field key.
The Erase to End of Field key. This key deletes all characters from the current cursor position to the end of the current field.
-
final
val
Escape: String("Escape")
The Escape (Esc) key, to initiate an escape sequence.
-
final
val
ExSel: String("ExSel")
The Extend Selection (Exsel) key.
-
final
val
Execute: String("Execute")
The Execute key.
-
final
val
F1: String("F1")
The F1 key, a general purpose function key, as index 1.
-
final
val
F10: String("F10")
The F10 key, a general purpose function key, as index 10.
-
final
val
F11: String("F11")
The F11 key, a general purpose function key, as index 11.
-
final
val
F12: String("F12")
The F12 key, a general purpose function key, as index 12.
-
final
val
F2: String("F2")
The F2 key, a general purpose function key, as index 2.
-
final
val
F3: String("F3")
The F3 key, a general purpose function key, as index 3.
-
final
val
F4: String("F4")
The F4 key, a general purpose function key, as index 4.
-
final
val
F5: String("F5")
The F5 key, a general purpose function key, as index 5.
-
final
val
F6: String("F6")
The F6 key, a general purpose function key, as index 6.
-
final
val
F7: String("F7")
The F7 key, a general purpose function key, as index 7.
-
final
val
F8: String("F8")
The F8 key, a general purpose function key, as index 8.
-
final
val
F9: String("F9")
The F9 key, a general purpose function key, as index 9.
-
final
val
Find: String("Find")
The Find key.
-
final
val
Fn: String("Fn")
The Function switch (Fn) key.
The Function switch (Fn) key. Activating this key simultaneously with another key changes that key's value to an alternate character or function. This key is often handled directly in the keyboard hardware and does not usually generate key events.
-
final
val
FnLock: String("FnLock")
The Function-Lock (FnLock, F-Lock) key.
The Function-Lock (FnLock, F-Lock) key. Activating this key switches the mode of the keyboard to changes some keys' values to an alternate character or function. This key is often handled directly in the keyboard hardware and does not usually generate key events.
-
final
val
Help: String("Help")
Toggle display of help information.
-
final
val
Home: String("Home")
The Home key, used with keyboard entry, to go to start of content.
-
final
val
Hyper: String("Hyper")
The Hyper key.
-
final
val
Insert: String("Insert")
The Insert (Ins) key, to toggle between text modes for insertion or overtyping.
-
final
val
Meta: String("Meta")
The Meta key, to enable meta modifier function for interpreting concurrent or subsequent keyboard input.
The Meta key, to enable meta modifier function for interpreting concurrent or subsequent keyboard input. This key value is also used for the Apple 'Command' key.
-
final
val
NumLock: String("NumLock")
The Number Lock key, to toggle numer-pad mode function for interpreting subsequent keyboard input.
-
final
val
OS: String("OS")
The operating system key (e.g.
The operating system key (e.g. the Windows Logo key).
-
final
val
PageDown: String("PageDown")
The Page Down key, to scroll down or display next page of content.
-
final
val
PageUp: String("PageUp")
The Page Up key, to scroll up or display previous page of content.
-
final
val
Paste: String("Paste")
The Paste key.
-
final
val
Pause: String("Pause")
Pause the current state or application (as appropriate).
Pause the current state or application (as appropriate).
Note: Do not use this value for the pause button on media controllers. Use 'MediaPause' instead.
-
final
val
Play: String("Play")
Play or resume the current state or application (as appropriate).
Play or resume the current state or application (as appropriate).
Note: Do not use this value for the play button on media controllers. Use 'MediaPlay' instead.
-
final
val
Props: String("Props")
The properties (Props) key.
-
final
val
Redo: String("Redo")
The Redo key.
-
final
val
ScrollLock: String("ScrollLock")
The Scroll Lock key, to toggle between scrolling and cursor movement modes.
-
final
val
Separator: String("Separator")
The Separator key, for context-sensitive text separators.
-
final
val
Shift: String("Shift")
The Shift key, to enable shift modifier function for interpreting concurrent or subsequent keyboard input.
-
final
val
Soft1: String("Soft1")
General purpose virtual function key, as index 1.
-
final
val
Soft2: String("Soft2")
General purpose virtual function key, as index 2.
-
final
val
Soft3: String("Soft3")
General purpose virtual function key, as index 3.
-
final
val
Soft4: String("Soft4")
General purpose virtual function key, as index 4.
- final val Spacebar: String(" ")
-
final
val
Super: String("Super")
The Super key.
-
final
val
Symbol: String("Symbol")
The Symbol modifier key (used on some virtual keyboards).
-
final
val
SymbolLock: String("SymbolLock")
The Symbol Lock key.
-
final
val
Tab: String("Tab")
The Horizontal Tabulation (Tab) key.
-
final
val
Undo: String("Undo")
The Undo key.
-
final
val
Unidentified: String("Unidentified")
This key value is used when an implementation is unable to identify another key value, due to either hardware, platform, or software constraints.
-
final
val
ZoomIn: String("ZoomIn")
The ZoomIn key.
-
final
val
ZoomOut: String("ZoomOut")
The ZoomOut key.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object Application
- object Device
- object IME
- object MediaControl
- object Multimedia