Update article.md
Grammar and phrasing changes to first paragraph. Wasn't 100% sure didn't change meaning and was going to leave it for review, but it seems I already committed it somehow when I was trying to make revisions, so hope it's right.
This commit is contained in:
parent
95483457d4
commit
790bd5c0d8
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ In the modern HTML standard there's a [section about Drag and Drop](https://html
|
|||
|
||||
These events are useful in that they allow us to solve simple tasks easily. For instance, they allow us to handle the 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, thereby giving JavaScript access to its contents.
|
||||
|
||||
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. And there are other drag'n'drop tasks that can't be done using that API. Also, mobile devices support for such events is almost non-existant.
|
||||
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. And there are other drag'n'drop tasks that can't be done using that API. Also, mobile device support for such events is almost non-existant.
|
||||
|
||||
So here we'll see how to implement Drag'n'Drop using mouse events.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue