- From: David Håsäther <hasather@gmail.com>
- Date: Wed, 28 Nov 2012 13:23:46 +0100
- To: www-dom@w3.org
On Wed, Nov 28, 2012 at 1:18 PM, Olli Pettay <Olli.Pettay@helsinki.fi> wrote: >>> UIEvent has already .detail, but not the same type as >>> CustomEvent.detail, so we can't move .detail to Event, but perhaps >>> we could add some other property. .additionalData? A bit long. >> >> >> Yea, UIEvent has detail, so you could overwrite it then. This is not a >> problem as far as I can see. > > > > It is a problem because the type of .detail in UIEvent is different than > the type in .detail in Custom event. Sure, but if you pass `detail` with the UIEvent you have explicitly overwritten it. What I had in mind was to only use it for custom events. But another name is also an option, `customData` or something. -- David Håsäther
Received on Wednesday, 28 November 2012 12:24:37 UTC