W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [DOMCore] fire and dispatch

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 01 Mar 2011 08:13:19 +0100
To: "Garrett Smith" <dhtmlkitchen@gmail.com>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.vrnk0h2p64w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 25 Feb 2011 18:47:54 +0100, Garrett Smith <dhtmlkitchen@gmail.com>  
wrote:
> Your example is simple. But some common cases of synth events are
> complicated. UI Events aren't so bad but MouseEvents and especially
> TouchEvents are a lot of work to synthesize.
>
> Most cases for synth events are for testing -- feature test or unit test.
>
> EventTarget.fireEvent(type[, options]);

So how is this simpler? Maybe you could illustrate by example instead?


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 1 March 2011 07:13:55 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT