Home » HTML » Html miscellaneous » Question
  1. Which of the following property is used to determine which drag operation was desired?
    1. dropEffect
    2. dragend
    3. captureData
    4. getData
    5. None of these
Correct Option: A

When the user finishes dragging an element, dragend is occurred. During the drop event, you should retrieve that data that was dropped from the event and insert it at the drop location. One can use the dropEffect property to determine which drag operation was desired.



Your comments will be displayed only after manual approval.