GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for DataTransfer.

Developer library 6

Live samples (EmbedLiveSample)

ements below other UI elements. > [!NOTE] > Displaying log output as part of the sample is a much better user experience than using `console.log()`. > > See [`DataTransfer.effectAllowed`](/docs/Web/API/DataTransfer/effectAllowed#setting_effectallowed) for a more complete example. #### HTML Create a pre element with an `id` of `"log"` for displaying the log output. ```html <pre id="log"></pre> ``` #### CSS The C

User input methods and controls

v draggable="true">This text <strong>may</strong> be dragged.</div> ``` ```js document.querySelector("div").addEventListener("dragstart", (event) => { event.dataTransfer.setData("text/plain", "This text may be dragged."); }); ``` in which we: - Set the [`draggable`](/docs/Web/HTML/Reference/Global_attributes/draggable) attribute to `true` on the element that you wish to make draggable. - Add a listener for the [

Work with files

Element/drop_event) events to the element. In the handler for the drop event, your code can access any file dropped by the user from the object offered by the `dataTransfer` property using [`DataTransfer.files`](/docs/Web/API/DataTransfer/files). Your code can then access and manipulate the files using the [DOM File API](/docs/Web/API/File). Example: [Imagify](https://github.com/mdn/webextensions-examples/tree/main/

Firefox 4 release notes for developers

ng. The new beforescriptexecute and afterscriptexecute events are fired before and after a script element executes. - Added the `mozSourceNode` property to the DataTransfer object. - Added the Selection.modify() method to the Selection object; this lets you easily alter the current text selection or cursor position in a browser window. - Support for the `window.directories` object and the `directories` feature for wi

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/4

Firefox 67 release notes for developers

/1530239)) and animation ([Firefox bug 1531605](https://bugzil.la/1531605)) events now fire on disabled (e.g., form) elements. - InputEvent.data and InputEvent.dataTransfer have been implemented ([Firefox bug 998941](https://bugzil.la/998941)). - The `insertFromPasteAsQuotation` InputEvent.inputType value is now supported ([Firefox bug 1532527](https://bugzil.la/1532527)). #### Workers/Service workers - Strict MIME

Firefox 50 release notes for developers

n SVG image elements has been removed to follow the latest SVG2 specification ([Firefox bug 1280425](https://bugzil.la/1280425)). ### Drag and Drop API - The DataTransfer.items property has been implemented, allowing access to multiple items being dragged and dropped using the HTML Drag and Drop API. To allow this, the DataTransferItem and DataTransferItemList interfaces are now supported as well ([Firefox bug 9064

JSON results · Services directory