Re: [clipboard events] click-to-copy support could be hasFeature discoverable?

On Mon, May 19, 2014 at 9:21 PM, Hallvord R. M. Steen
<hsteen@mozilla.com> wrote:
> button.onclick = function(){
>     button.dispatchEvent(new ClipboardEvent('copy', {dataType:'text/plain', data:'Hello world'});
>     // did that succeed or not? We don't have event.clipboardData on a clip event object

That should never work as per the other thread. execCommand should
maybe work. And with the various queryCommand* APIs you can do
detection.


-- 
http://annevankesteren.nl/

Received on Tuesday, 20 May 2014 09:41:59 UTC