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

Hm.. If it's nullable I need some extra text saying when it's null or not?

Or will going with option 3 mean (per Philip's comment in https://critic.hoppipolla.co.uk/showcomment?chain=12258 ) that 

    evt = new ClipboardEvent('paste');
    evt.clipboardData.setData('text/plain', 'hi');

won't work because evt.clipboardData is null? That will make synthetic paste events pretty useless..

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

Received on Wednesday, 5 August 2015 09:47:58 UTC