From 2b5ac971c1bd8abe7b17cdcf724afd84799b6cbd Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sun, 10 Nov 2019 09:04:59 +0300 Subject: [PATCH] minor --- 2-ui/3-event-details/4-mouse-drag-and-drop/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-ui/3-event-details/4-mouse-drag-and-drop/article.md b/2-ui/3-event-details/4-mouse-drag-and-drop/article.md index 721357b7..2418ffd6 100644 --- a/2-ui/3-event-details/4-mouse-drag-and-drop/article.md +++ b/2-ui/3-event-details/4-mouse-drag-and-drop/article.md @@ -6,9 +6,9 @@ In the modern HTML standard there's a [section about Drag and Drop](https://html 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. -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. +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. -Here we'll see how to implement Drag'n'Drop using mouse events. +So here we'll see how to implement Drag'n'Drop using mouse events. ## Drag'n'Drop algorithm