Skip to content

Commit e25ccf8

Browse files
authored
Merge pull request #2044 from peachesontour/patch-4
Typos
2 parents b07a1fe + beaf89f commit e25ccf8

File tree

1 file changed

+2
-2
lines changed
  • 2-ui/3-event-details/4-mouse-drag-and-drop

1 file changed

+2
-2
lines changed

2-ui/3-event-details/4-mouse-drag-and-drop/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function onMouseMove(event) {
276276
}
277277
```
278278

279-
In the example below when the ball is dragged over the soccer gate, the gate is highlighted.
279+
In the example below when the ball is dragged over the soccer goal, the goal is highlighted.
280280

281281
[codetabs height=250 src="ball4"]
282282

@@ -300,4 +300,4 @@ We can lay a lot on this foundation.
300300
- We can use event delegation for `mousedown/up`. A large-area event handler that checks `event.target` can manage Drag'n'Drop for hundreds of elements.
301301
- And so on.
302302

303-
There are frameworks that build architecture over it: `DragZone`, `Droppable`, `Draggable` and other classes. Most of them do the similar stuff to what's described above, so it should be easy to understand them now. Or roll your own, as you can see that that's easy enough to do, sometimes easier than adapting a third-part solution.
303+
There are frameworks that build architecture over it: `DragZone`, `Droppable`, `Draggable` and other classes. Most of them do the similar stuff to what's described above, so it should be easy to understand them now. Or roll your own, as you can see that that's easy enough to do, sometimes easier than adapting a third-party solution.

0 commit comments

Comments
 (0)