Skip to content

Commit 2b5ac97

Browse files
committed
minor
1 parent be244d0 commit 2b5ac97

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
@@ -6,9 +6,9 @@ In the modern HTML standard there's a [section about Drag and Drop](https://html
66

77
They are interesting because they allow to solve simple tasks easily, and also allow to handle drag'n'drop of "external" files into the browser. So we can take a file in the OS file-manager and drop it into the browser window. Then JavaScript gains access to its contents.
88

9-
But native Drag Events also have limitations. For instance, we can't limit dragging by a certain area. Also we can't make it "horizontal" or "vertical" only. There are other drag'n'drop tasks that can't be done using that API.
9+
But native Drag Events also have limitations. For instance, we can't limit dragging by a certain area. Also we can't make it "horizontal" or "vertical" only. There are other drag'n'drop tasks that can't be done using that API. Besides, mobile devices support for such events is almost non-existant.
1010

11-
Here we'll see how to implement Drag'n'Drop using mouse events.
11+
So here we'll see how to implement Drag'n'Drop using mouse events.
1212

1313
## Drag'n'Drop algorithm
1414

0 commit comments

Comments
 (0)