On Fri, 25 Feb 2011 18:47:54 +0100, Garrett Smith <dhtmlkitc...@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/

Reply via email to