Skip to content

Commit 37057a7

Browse files
authored
Update article.md
1 parent 291b5c0 commit 37057a7

File tree

1 file changed

+2
-2
lines changed
  • 2-ui/3-event-details/1-mouse-events-basics

1 file changed

+2
-2
lines changed

2-ui/3-event-details/1-mouse-events-basics/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We've already seen some of these events:
3030

3131
## Events order
3232

33-
As you can see from the list above, a user action may trigger multiple events.
33+
As you can see z list above, a user action may trigger multiple events.
3434

3535
For instance, a left-button click first triggers `mousedown`, when the button is pressed, then `mouseup` and `click` when it's released.
3636

@@ -52,7 +52,7 @@ Click-related events always have the `button` property, which allows to get the
5252

5353
We usually don't use it for `click` and `contextmenu` events, because the former happens only on left-click, and the latter -- only on right-click.
5454

55-
From the other hand, `mousedown` and `mouseup` handlers may need `event.button`, because these events trigger on any button, so `button` allows to distinguish between "right-mousedown" and "left-mousedown".
55+
On the other hand, `mousedown` and `mouseup` handlers may need `event.button`, because these events trigger on any button, so `button` allows to distinguish between "right-mousedown" and "left-mousedown".
5656

5757
The possible values of `event.button` are:
5858

0 commit comments

Comments
 (0)