o

org.scalajs.dom.ext

KeyValue

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyValue
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val Accept: String("Accept")

    The Accept (Commit, OK) key.

    The Accept (Commit, OK) key. Accept current option or input method sequence conversion.

  5. final val Again: String("Again")

    The Again key, to redo or repeat an action.

  6. 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.

  7. 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).

  8. final val ArrowDown: String("ArrowDown")

    The down arrow key, to navigate or traverse downward.

  9. final val ArrowLeft: String("ArrowLeft")

    The left arrow key, to navigate or traverse leftward.

  10. final val ArrowRight: String("ArrowRight")

    The right arrow key, to navigate or traverse rightward.

  11. final val ArrowUp: String("ArrowUp")

    The up arrow key, to navigate or traverse upward.

  12. final val Attn: String("Attn")

    The Attention (Attn) key.

  13. 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.

  14. final val BrowserBack: String("BrowserBack")

    Navigate to previous content or page in current history.

  15. final val BrowserFavorites: String("BrowserFavorites")

    The Browser Favorites key.

  16. final val BrowserForward: String("BrowserForward")

    Navigate to next content or page in current history.

  17. final val BrowserHome: String("BrowserHome")

    The Browser Home key, used with keyboard entry, to go to the home page.

  18. final val BrowserRefresh: String("BrowserRefresh")

    The Browser Refresh key, to refresh the current page or content.

  19. final val BrowserSearch: String("BrowserSearch")

    The Browser Search key, to call up the user's preferred search page.

  20. final val BrowserStop: String("BrowserStop")

    The Browser Stop key, to stop loading the current page or content.

  21. final val Cancel: String("Cancel")

    The Cancel key.

  22. 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.

  23. final val Clear: String("Clear")

    The Clear key, for removing current selected input.

  24. 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.

  25. final val Control: String("Control")

    The Control (Ctrl) key, to enable control modifier function for interpreting concurrent or subsequent keyboard input.

  26. final val Copy: String("Copy")

    The Copy key.

  27. final val CrSel: String("CrSel")

    The Cursor Select (Crsel) key.

  28. final val Cut: String("Cut")

    The Cut key.

  29. 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.

  30. final val End: String("End")

    The End key, used with keyboard entry to go to the end of content.

  31. 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.

  32. 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.

  33. final val Escape: String("Escape")

    The Escape (Esc) key, to initiate an escape sequence.

  34. final val ExSel: String("ExSel")

    The Extend Selection (Exsel) key.

  35. final val Execute: String("Execute")

    The Execute key.

  36. final val F1: String("F1")

    The F1 key, a general purpose function key, as index 1.

  37. final val F10: String("F10")

    The F10 key, a general purpose function key, as index 10.

  38. final val F11: String("F11")

    The F11 key, a general purpose function key, as index 11.

  39. final val F12: String("F12")

    The F12 key, a general purpose function key, as index 12.

  40. final val F2: String("F2")

    The F2 key, a general purpose function key, as index 2.

  41. final val F3: String("F3")

    The F3 key, a general purpose function key, as index 3.

  42. final val F4: String("F4")

    The F4 key, a general purpose function key, as index 4.

  43. final val F5: String("F5")

    The F5 key, a general purpose function key, as index 5.

  44. final val F6: String("F6")

    The F6 key, a general purpose function key, as index 6.

  45. final val F7: String("F7")

    The F7 key, a general purpose function key, as index 7.

  46. final val F8: String("F8")

    The F8 key, a general purpose function key, as index 8.

  47. final val F9: String("F9")

    The F9 key, a general purpose function key, as index 9.

  48. final val Find: String("Find")

    The Find key.

  49. 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.

  50. 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.

  51. final val Help: String("Help")

    Toggle display of help information.

  52. final val Home: String("Home")

    The Home key, used with keyboard entry, to go to start of content.

  53. final val Hyper: String("Hyper")

    The Hyper key.

  54. final val Insert: String("Insert")

    The Insert (Ins) key, to toggle between text modes for insertion or overtyping.

  55. 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.

  56. final val NumLock: String("NumLock")

    The Number Lock key, to toggle numer-pad mode function for interpreting subsequent keyboard input.

  57. final val OS: String("OS")

    The operating system key (e.g.

    The operating system key (e.g. the Windows Logo key).

  58. final val PageDown: String("PageDown")

    The Page Down key, to scroll down or display next page of content.

  59. final val PageUp: String("PageUp")

    The Page Up key, to scroll up or display previous page of content.

  60. final val Paste: String("Paste")

    The Paste key.

  61. 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.

  62. 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.

  63. final val Props: String("Props")

    The properties (Props) key.

  64. final val Redo: String("Redo")

    The Redo key.

  65. final val ScrollLock: String("ScrollLock")

    The Scroll Lock key, to toggle between scrolling and cursor movement modes.

  66. final val Separator: String("Separator")

    The Separator key, for context-sensitive text separators.

  67. final val Shift: String("Shift")

    The Shift key, to enable shift modifier function for interpreting concurrent or subsequent keyboard input.

  68. final val Soft1: String("Soft1")

    General purpose virtual function key, as index 1.

  69. final val Soft2: String("Soft2")

    General purpose virtual function key, as index 2.

  70. final val Soft3: String("Soft3")

    General purpose virtual function key, as index 3.

  71. final val Soft4: String("Soft4")

    General purpose virtual function key, as index 4.

  72. final val Spacebar: String(" ")
  73. final val Super: String("Super")

    The Super key.

  74. final val Symbol: String("Symbol")

    The Symbol modifier key (used on some virtual keyboards).

  75. final val SymbolLock: String("SymbolLock")

    The Symbol Lock key.

  76. final val Tab: String("Tab")

    The Horizontal Tabulation (Tab) key.

  77. final val Undo: String("Undo")

    The Undo key.

  78. 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.

  79. final val ZoomIn: String("ZoomIn")

    The ZoomIn key.

  80. final val ZoomOut: String("ZoomOut")

    The ZoomOut key.

  81. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  82. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  83. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  85. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  86. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  87. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  88. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  89. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  90. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  91. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  92. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  93. def toString(): String
    Definition Classes
    AnyRef → Any
  94. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  97. object Application
  98. object Device
  99. object IME
  100. object MediaControl
  101. object Multimedia

Inherited from AnyRef

Inherited from Any

Ungrouped