Re: [DOMCore] Making event initializing easier

On Fri, Jun 24, 2011 at 2:41 AM, Anne van Kesteren <annevk@opera.com> wrote:
> On Fri, 24 Jun 2011 09:12:55 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>>
>> Actually, the API I think we should aim for is:
>>
>> var e = new MouseEvent("mousemove", { bubbles: true, cancelable: false,
>> ... });
>
> I think we can do something like that later. Or do you think there should be
> no init() method at all and that we should just have this?

I think we should just have this (and as much from DOM L3 Events as
needed for back compat of course).

/ Jonas

Received on Friday, 24 June 2011 09:58:31 UTC