- From: Philip Jägenstedt <notifications@github.com>
- Date: Fri, 11 Mar 2016 05:45:01 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
Received on Friday, 11 March 2016 13:46:00 UTC
I agree, with a `DataTransfer` constructor this wouldn't have had to be nullable. I guess the reason nobody has tried to do that is because the constructor would be a bit complicated, in the end because `DataTransferItem` can represent either a file or a string. Not insurmountable, though. Maybe file an issue on whatwg/html if you have a syntax in mind? I commented about a missing `?`. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/10#issuecomment-195366638
Received on Friday, 11 March 2016 13:46:00 UTC