Object

org.scalajs.dom.ext

KeyValue

Related Doc: package ext

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val Accept: String("Accept")

    Permalink

    The Accept (Commit, OK) key.

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

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

    Permalink

    The Again key, to redo or repeat an action.

  6. final val Alt: String("Alt")

    Permalink

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

    Permalink

    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

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

    Permalink

    The down arrow key, to navigate or traverse downward.

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

    Permalink

    The left arrow key, to navigate or traverse leftward.

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

    Permalink

    The right arrow key, to navigate or traverse rightward.

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

    Permalink

    The up arrow key, to navigate or traverse upward.

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

    Permalink

    The Attention (Attn) key.

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

    Permalink

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

    Permalink

    Navigate to previous content or page in current history.

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

    Permalink

    The Browser Favorites key.

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

    Permalink

    Navigate to next content or page in current history.

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    The Cancel key.

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

    Permalink

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

    Permalink

    The Clear key, for removing current selected input.

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

    Permalink

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

    Permalink

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

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

    Permalink

    The Copy key.

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

    Permalink

    The Cursor Select (Crsel) key.

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

    Permalink

    The Cut key.

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

    Permalink

    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

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

    Permalink

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

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

    Permalink

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

    Permalink

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

    Permalink

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

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

    Permalink

    The Extend Selection (Exsel) key.

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

    Permalink

    The Execute key.

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    The Find key.

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

    Permalink

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

    Permalink

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

    Permalink

    Toggle display of help information.

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

    Permalink

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

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

    Permalink

    The Hyper key.

  56. object IME

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

    Permalink

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

  58. object MediaControl

    Permalink
  59. final val Meta: String("Meta")

    Permalink

    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

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

    Permalink

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

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

    Permalink

    The operating system key (e.g.

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    The Paste key.

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

    Permalink

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

    Permalink

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

    Permalink

    The properties (Props) key.

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

    Permalink

    The Redo key.

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

    Permalink

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

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

    Permalink

    The Separator key, for context-sensitive text separators.

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

    Permalink

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

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

    Permalink

    General purpose virtual function key, as index 1.

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

    Permalink

    General purpose virtual function key, as index 2.

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

    Permalink

    General purpose virtual function key, as index 3.

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

    Permalink

    General purpose virtual function key, as index 4.

  77. final val Spacebar: String(" ")

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

    Permalink

    The Super key.

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

    Permalink

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

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

    Permalink

    The Symbol Lock key.

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

    Permalink

    The Horizontal Tabulation (Tab) key.

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

    Permalink

    The Undo key.

  83. final val Unidentified: String("Unidentified")

    Permalink

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

    Permalink

    The ZoomIn key.

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

    Permalink

    The ZoomOut key.

  86. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  87. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  98. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped