- From: Hallvord R. M. Steen <notifications@github.com>
- Date: Tue, 28 Jul 2015 05:50:35 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
Received on Tuesday, 28 July 2015 12:51:10 UTC
@foolip the intention here is to both handle events that fire due to a script calling ```dispatchEvent()``` and events that fire due to a script calling ```document.execCommand('copy')```. (I guess that should be clarified). The execCommand() call will trigger a copy action (as defined by the spec), which will run the 'fire a clipboard event' algorithm. So I think this still needs to take into account whether it was triggered from JS (i.e. execCommand()) - unless you can suggest a different way to structure it.. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/16#issuecomment-125591964
Received on Tuesday, 28 July 2015 12:51:10 UTC