@@ -2742,53 +2742,54 @@ trait KeyboardEventInit extends js.Object {
2742
2742
@ js.native
2743
2743
@ JSGlobal
2744
2744
object KeyboardEvent extends js.Object {
2745
+
2745
2746
/**
2746
- * The key has only one version, or can't be distinguished between the left
2747
- * and right versions of the key, and was not pressed on the numeric keypad
2748
- * or a key that is considered to be part of the keypad.
2749
- *
2750
- * MDN
2751
- */
2747
+ * The key has only one version, or can't be distinguished between the left
2748
+ * and right versions of the key, and was not pressed on the numeric keypad
2749
+ * or a key that is considered to be part of the keypad.
2750
+ *
2751
+ * MDN
2752
+ */
2752
2753
def DOM_KEY_LOCATION_STANDARD : Int = js.native
2753
2754
2754
2755
/**
2755
- * The key was the left-hand version of the key; for example, the left-hand
2756
- * Control key was pressed on a standard 101 key US keyboard. This value is
2757
- * only used for keys that have more that one possible location on the
2758
- * keyboard.
2759
- *
2760
- * MDN
2761
- */
2756
+ * The key was the left-hand version of the key; for example, the left-hand
2757
+ * Control key was pressed on a standard 101 key US keyboard. This value is
2758
+ * only used for keys that have more that one possible location on the
2759
+ * keyboard.
2760
+ *
2761
+ * MDN
2762
+ */
2762
2763
def DOM_KEY_LOCATION_LEFT : Int = js.native
2763
2764
2764
2765
/**
2765
- * The key was the right-hand version of the key; for example, the right-hand
2766
- * Control key is pressed on a standard 101 key US keyboard. This value is
2767
- * only used for keys that have more that one possible location on the
2768
- * keyboard.
2769
- *
2770
- * MDN
2771
- */
2766
+ * The key was the right-hand version of the key; for example, the right-hand
2767
+ * Control key is pressed on a standard 101 key US keyboard. This value is
2768
+ * only used for keys that have more that one possible location on the
2769
+ * keyboard.
2770
+ *
2771
+ * MDN
2772
+ */
2772
2773
def DOM_KEY_LOCATION_RIGHT : Int = js.native
2773
2774
2774
2775
/**
2775
- * The key was on the numeric keypad, or has a virtual key code that
2776
- * corresponds to the numeric keypad.
2777
- *
2778
- * @note When NumLock is locked, Gecko always returns
2779
- * [[DOM_KEY_LOCATION_NUMPAD ]] for the keys on the numeric pad.
2780
- * Otherwise, when NumLock is unlocked and the keyboard actually has
2781
- * a numeric keypad, Gecko always returns [[DOM_KEY_LOCATION_NUMPAD ]]
2782
- * too. On the other hand, if the keyboard doesn't have a keypad, such
2783
- * as on a notebook computer, some keys become Numpad only when NumLock
2784
- * is locked. When such keys fires key events, the location attribute
2785
- * value depends on the key. That is, it must not be
2786
- * [[DOM_KEY_LOCATION_NUMPAD ]].
2787
- * @note NumLock key's key events indicate [[DOM_KEY_LOCATION_STANDARD ]] both
2788
- * on Gecko and Internet Explorer.
2789
- *
2790
- * MDN
2791
- */
2776
+ * The key was on the numeric keypad, or has a virtual key code that
2777
+ * corresponds to the numeric keypad.
2778
+ *
2779
+ * @note When NumLock is locked, Gecko always returns
2780
+ * [[DOM_KEY_LOCATION_NUMPAD ]] for the keys on the numeric pad.
2781
+ * Otherwise, when NumLock is unlocked and the keyboard actually has
2782
+ * a numeric keypad, Gecko always returns [[DOM_KEY_LOCATION_NUMPAD ]]
2783
+ * too. On the other hand, if the keyboard doesn't have a keypad, such
2784
+ * as on a notebook computer, some keys become Numpad only when NumLock
2785
+ * is locked. When such keys fires key events, the location attribute
2786
+ * value depends on the key. That is, it must not be
2787
+ * [[DOM_KEY_LOCATION_NUMPAD ]].
2788
+ * @note NumLock key's key events indicate [[DOM_KEY_LOCATION_STANDARD ]] both
2789
+ * on Gecko and Internet Explorer.
2790
+ *
2791
+ * MDN
2792
+ */
2792
2793
def DOM_KEY_LOCATION_NUMPAD : Int = js.native
2793
2794
}
2794
2795
0 commit comments