Interview Questions and Answer
a. Copy
b. Deletion
c. Reorder
d. All the mentioned above
Reveal Answer
a. data = dataTransfer.getData(format)
b. dataTransfer.setData(format, data)
c. dataTransfer.files
d. dataTransfer.setDragImage(element,x,y)
Reveal Answer
a. a)The dragenter event, which is used to determine whether or not the drop target is to accept the drop. If the drop is to be accepted, then this event has to be canceled. b)The dragover event, which is used to determine what feedback is to be shown to the user. If the event is canceled, then the feedback (typically the cursor) is updated based on the dropEffect attribute's value.
b. Dragging the object
c. Dropping the object
d. Both A & B
e. None of the above
Reveal Answer
Bestdotnet google plus