Jump to content

TheRiddler

Members
  • Posts

    1
  • Joined

  • Last visited

TheRiddler's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I just started learning this functionality a few days ago. What does everybody think of the native drag'n'drop API in HTML 5? Good, bad, ugly? I came across one article where a developer lambasted the API to death. But it's quite old also: http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html My usage and experimentation has actually been limited within the scope of the browser itself, i.e., moving elements, basically images, from one container element to another. I may experiment with using it between the OS and browser as I become more familiar with it. I am guessing this API was made more for interactions between the browser and the host OS more so than just moving things inside the DOM. Am I right on that? What's everybody's opinion of this API in it's "current" state. Does it bring much to the table over anything jQuery can do? Also, I wonder if anybody knows how the Chrome browser keeps track of a drag'n'drop operation from beginning to end? I've tried handling a "drop" event handler without cancelling an "ondragenter" event. But it just won't work. If I don't cancel the "ondragenter" or "ondragover" event then my "ondrop" event handler never get's called. I've tried finding the actual source code for this API but it's a minefield of alphabet soup. I don't know if it's in Chromium code or WebKit or WebKit 2 code or Blink. And when I do get close the number of folders one can dive into is completely overwhelming.
×
×
  • Create New...