W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOMCore] Making event initializing easier

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 24 Jun 2011 02:57:34 -0700
Message-ID: <BANLkTik+4GSiBz74aU-C0Y_JjukC+CVYHA@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT