- From: Boris Zbarsky <notifications@github.com>
- Date: Fri, 16 Dec 2016 10:52:12 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 16 December 2016 18:52:48 UTC
DataTransfer objects can't be created by script as things stand; they can only be gotten out of an existing ClipboardEvent or DragEvent. That makes the constructor version with a DataTransfer dictionary member somewhat useless in practice... Maybe the answer is that we should in fact have a way of constructing DataTransfer objects? Note that Firefox currently ships a version of ClipboardEventInit that takes data and dataType strings and internally constructs a DataTransfer from them.... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/33
Received on Friday, 16 December 2016 18:52:48 UTC