Skip to content

Commit

Permalink
Fix anchors and revise sentence (mdn#25326)
Browse files Browse the repository at this point in the history
* Fix anchors

* Update files/en-us/web/api/element/keydown_event/index.md

* Update files/en-us/web/api/element/keypress_event/index.md

* Update files/en-us/web/api/element/keyup_event/index.md

* Update files/en-us/web/api/element/keypress_event/index.md

* Update files/en-us/web/api/element/keydown_event/index.md

* Update files/en-us/web/api/element/keyup_event/index.md
  • Loading branch information
dawei-wang authored Mar 14, 2023
1 parent 92ddca5 commit 251a438
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/element/keydown_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ _This interface also inherits properties of its parents, {{domxref("UIEvent")}}
> **Note:** This does not describe the locale of the data being entered. A user may be using one keyboard layout while typing text in a different language.
- {{domxref("KeyboardEvent.location")}} {{ReadOnlyInline}}
- : Returns a number representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown above in [Keyboard locations](#keyboard_locations).
- : Returns a number representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown in [Keyboard locations](/en-US/docs/Web/API/KeyboardEvent#keyboard_locations).
- {{domxref("KeyboardEvent.metaKey")}} {{ReadOnlyInline}}

- : Returns a boolean value that is `true` if the <kbd>Meta</kbd> key (on Mac keyboards, the <kbd>⌘ Command</kbd> key; on Windows keyboards, the Windows key (<kbd>⊞</kbd>)) was active when the key event was generated.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/element/keypress_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ _This interface also inherits properties of its parents, {{domxref("UIEvent")}}
> **Note:** This does not describe the locale of the data being entered. A user may be using one keyboard layout while typing text in a different language.
- {{domxref("KeyboardEvent.location")}} {{ReadOnlyInline}}
- : Returns a number representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown above in [Keyboard locations](#keyboard_locations).
- : Returns a number representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown in [Keyboard locations](/en-US/docs/Web/API/KeyboardEvent#keyboard_locations).
- {{domxref("KeyboardEvent.metaKey")}} {{ReadOnlyInline}}

- : Returns a boolean value that is `true` if the <kbd>Meta</kbd> key (on Mac keyboards, the <kbd>⌘ Command</kbd> key; on Windows keyboards, the Windows key (<kbd>⊞</kbd>)) was active when the key event was generated.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/element/keyup_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ _This interface also inherits properties of its parents, {{domxref("UIEvent")}}
> **Note:** This does not describe the locale of the data being entered. A user may be using one keyboard layout while typing text in a different language.
- {{domxref("KeyboardEvent.location")}} {{ReadOnlyInline}}
- : Returns a number representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown above in [Keyboard locations](#keyboard_locations).
- : Returns a number representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown in [Keyboard locations](/en-US/docs/Web/API/KeyboardEvent#keyboard_locations).
- {{domxref("KeyboardEvent.metaKey")}} {{ReadOnlyInline}}

- : Returns a boolean value that is `true` if the <kbd>Meta</kbd> key (on Mac keyboards, the <kbd>⌘ Command</kbd> key; on Windows keyboards, the Windows key (<kbd>⊞</kbd>)) was active when the key event was generated.
Expand Down

0 comments on commit 251a438

Please sign in to comment.