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

in JS, sure. It is not possible to create DataTransfer atm (maybe we should add a ctor for DataTransfer but that is a different bug).
But I'd make dictionary to have
DataTransfer? dataTransfer = null;
and then the event would have also nullable dataTransfer

other option is to use 'required' in the dictionary.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/10#issuecomment-125908432

Received on Wednesday, 29 July 2015 10:12:46 UTC