You are after dropEffect:
Initialize it in dragstart:
event.dataTransfer.effectAllowed = "copyMove";
Update it in dragenter:
event.dataTransfer.dropEffect = "copy";
More Related Contents:
- How do I remove a file from the FileList
- Does HTML5 allow drag-drop upload of folders or a folder tree?
- drag drop files into standard html file input
- HTML5 dragleave fired when hovering a child element
- How FileReader.readAsText in HTML5 File API works?
- HTML5 Drag and Drop anywhere on the screen
- Simulate drop file event
- Prevent browser from loading a drag-and-dropped file
- How to use jQuery’s drop event to upload files dragged from the desktop?
- HTML5 drop event doesn’t work unless dragover is handled
- Detecting HTML5 Drag And Drop support in javascript
- How to determine presence of HTML5 drag’n’drop file upload API (like the one from FF3.6)
- html5 drag and drop FOR MOBILE [duplicate]
- How to apply !important using .css()?
- Render HTML string as real HTML in a React component
- How do I simulate a hover with a touch in touch enabled browsers?
- Change link color of the current page with CSS
- How to open a PDF file in an ?
- How can I validate an email address in JavaScript?
- Is there a way to make text unselectable on an HTML page? [duplicate]
- Getting mouse location in canvas [duplicate]
- HTML5 video not streaming and taking 90 seconds to load
- Why aren’t some technically serializable input properties serializable?
- Removing page title and date when printing web page (with CSS?)
- JavaScript: getting ImageData without canvas
- Printing emojis with JavaScript and HTML
- Chrome New Tab Page extension steal focus from the address bar
- How to append text to a div element?
- javascript (+) sign concatenates instead of giving sum? [duplicate]
- Geolocation closest location(lat, long) from my position