Re: [clipboard-apis] The ClipboardEvent constructor is strange (#10)

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