Re: [DOMCore] fire and dispatch

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 UTC