- From: Philip Jägenstedt <notifications@github.com>
- Date: Wed, 29 Jul 2015 04:11:07 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
Received on Wednesday, 29 July 2015 11:12:01 UTC
Is this on principle, that because `ClipboardEvent.clipboardData` exists, so should `ClipboardEventInit.clipboardData`? If the only way to get a `DataTransfer` instance is from a trusted `ClipboardEvent` or `DragEvent`, then I don't think there's anything sane that one could do with `ClipboardEventInit.clipboardData`, but it would be more tests to write. In any case, [`DragEvent.dataTransfer` and `DragEventInit.dataTransfer`](https://html.spec.whatwg.org/#the-dragevent-interface) are nullable, and I agree that's at least better non-nullable equivalents. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/10#issuecomment-125921169
Received on Wednesday, 29 July 2015 11:12:01 UTC