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

> Event object properties are just copied automatically from EventInit?

Yes, per a macro.

> We can't just say ClipboardEvent IDL says that there is a DataTransfer clipboardEvent property, so if you create a ClipboardEvent you must add this property?

There's a couple things wrong with this question, but the main one is that you cannot really say it creates a `DataTransfer` object out of thin air. It needs to be supplied.

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

Received on Thursday, 6 August 2015 11:19:04 UTC