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

Yeah, but I'm assuming @smaug---- will fix it :)

I'd be OK with any of the following:
1. No constructor at all
2. A constructor that takes `EventInit` as its second argument and just creates an empty `DataTransfer`. (Still too magical?)
3. An `ClipboardEventInit` with an optional and nullable `clipboardData` member.
4. An `ClipboardEventInit` with a required and non-nullable `clipboardData` member.

Take your pick! I'd also like if the same pattern is used for https://www.w3.org/Bugs/Public/show_bug.cgi?id=28984 unless there's some difference between drag and clipboard events I'm missing.

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

Received on Monday, 3 August 2015 14:53:13 UTC