![]() In this article, we will limit our scope to the dragging and dropping of DOM and canvas objects, and the reordering of DOM nodes. Interested readers might also be curious about criticisms levelled at same. ![]() See the drag and drop API draft for more information on the specfication. dragging an image from a native desktop and dropping on a webpage. For example, it supports things like dragging objects between applications e.g. It’s worth pointing out that, issues aside, the HTML5 drag and drop API goes beyond what we want to achieve with drag and drop in this article. And even without this API, there are plenty of ways that drag and drop can be implemented, as we will see. Thus anything we cover would be largely irrelevant to our discussion. The main justification for omitting this is that there is very poor support for the current draft of the specification across mobile browsers. There is an official HTML5 drag and drop API in the works. ![]() We’ll also build on some of the things we learned in previous HTML5 articles on mobiForge.īut first, a clarification about what this article is about. In particular we’ll be looking at DOM and canvas-based drag and drop approaches. In this article we explore some touch-friendly drag and drop implementations.
0 Comments
Leave a Reply. |