HTML 5 drag and drop drag dragend dragover ....

Source: Internet
Author: User

Drag-and-drop (Drag and Drop) is part of the HTML5 standard. Http://www.w3school.com.cn/html5/html_5_draganddrop.asp

The Datatransfer.setdata () method sets the data type and value of the dragged data

DragStart : Triggered when the dragged element starts being dragged

drag : Triggers when dragged elements are dragged

DragEnter : Triggered when a dragged element enters the target element

dragover : Triggered when the dragged element moves on the target element

DragLeave : Triggered when a dragged element leaves the target element.

drop : Triggered when the element is dragged over the target element and the left mouse button is released

dragend : Triggers when drag-and-drop behavior ends

Overall life cycle

DragStart, drag, DragEnter, dragover, dragleave , Gend

Http://www.cnblogs.com/fsjohnhuang/p/3961066.html

HTML 5 drag and drop drag dragend dragover ....

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.