org.scalajs.dom.ext

KeyValue

Related Doc: package ext

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
Learn more about member selection
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. object Application

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

    The down arrow key, to navigate or traverse downward.

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

    The left arrow key, to navigate or traverse leftward.

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

    The right arrow key, to navigate or traverse rightward.

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

    The up arrow key, to navigate or traverse upward.

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

    The Attention (Attn) key.

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

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

    Navigate to previous content or page in current history.

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

    The Browser Favorites key.

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

    Navigate to next content or page in current history.

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

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

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

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

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

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

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

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

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

    The Cancel key.

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

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

    The Clear key, for removing current selected input.

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

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

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

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

    The Copy key.

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

    The Cursor Select (Crsel) key.

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

    The Cut key.

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

  31. object Device

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

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

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

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

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

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

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

    The Extend Selection (Exsel) key.

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

    The Execute key.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    The Find key.

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

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

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

    Toggle display of help information.

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

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

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

    The Hyper key.

  56. object IME

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

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

  58. object MediaControl

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

  60. object Multimedia

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

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

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

    The operating system key (e.g.

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

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

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

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

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

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

    The Paste key.

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

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

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

    The properties (Props) key.

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

    The Redo key.

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

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

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

    The Separator key, for context-sensitive text separators.

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

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

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

    General purpose virtual function key, as index 1.

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

    General purpose virtual function key, as index 2.

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

    General purpose virtual function key, as index 3.

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

    General purpose virtual function key, as index 4.

  77. final val Spacebar: String(" ")

  78. final val Super: String("Super")

    The Super key.

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

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

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

    The Symbol Lock key.

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

    The Horizontal Tabulation (Tab) key.

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

    The Undo key.

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

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

    The ZoomIn key.

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

    The ZoomOut key.

  86. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  87. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  89. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  90. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  91. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  92. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  93. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  94. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  95. final def notify(): Unit

    Definition Classes
    AnyRef
  96. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  97. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  98. def toString(): String

    Definition Classes
    AnyRef → Any
  99. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped