mdn links
This commit is contained in:
parent
e074a5f825
commit
82b6a3be99
10 changed files with 24 additions and 24 deletions
|
@ -66,7 +66,7 @@ The possible values of `event.button` are:
|
|||
|
||||
Most mouse devices only have the left and right buttons, so possible values are `0` or `2`. Touch devices also generate similar events when one taps on them.
|
||||
|
||||
Also there's `event.buttons` property that has all currently pressed buttons as an integer, one bit per button. In practice this property is very rarely used, you can find details at [MDN](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons) if you ever need it.
|
||||
Also there's `event.buttons` property that has all currently pressed buttons as an integer, one bit per button. In practice this property is very rarely used, you can find details at [MDN](mdn:/api/MouseEvent/buttons) if you ever need it.
|
||||
|
||||
```warn header="The outdated `event.which`"
|
||||
Old code may use `event.which` property that's an old non-standard way of getting a button, with possible values:
|
||||
|
|
|
@ -259,7 +259,7 @@ Click buttons to run methods on the selection, "resetExample" to reset it.
|
|||
</script>
|
||||
```
|
||||
|
||||
There also exist methods to compare ranges, but these are rarely used. When you need them, please refer to the [spec](https://dom.spec.whatwg.org/#interface-range) or [MDN manual](https://developer.mozilla.org/en-US/docs/Web/API/Range).
|
||||
There also exist methods to compare ranges, but these are rarely used. When you need them, please refer to the [spec](https://dom.spec.whatwg.org/#interface-range) or [MDN manual](mdn:/api/Range).
|
||||
|
||||
|
||||
## Selection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue