W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2012

Adding `detail` to Event

From: David Håsäther <hasather@gmail.com>
Date: Wed, 28 Nov 2012 11:30:03 +0100
Message-ID: <CAMPaTMfD-qvdF8hazaZP2X1a14TGOcGbwt6Mu-_f68_F3BVe+A@mail.gmail.com>
To: www-dom@w3.org
The only reason for CustomEvent is to be able to pass a `detail`
object. It seems unnecessary to have a separate constructor just to be
able to pass an extra object, and I would suggest that Event could
take `detail` too (thereby deprecating CustomEvent).

I asked Anne on IRC if it's too late to add `detail` to Event and he
said "no at all".

David Håsäther
Received on Wednesday, 28 November 2012 10:30:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:19 UTC