Re: ISSUE-55: wheelDelta DOM attribute for mousewheel event

Web APIs Issue Tracker wrote:
> ISSUE-55: wheelDelta DOM attribute for mousewheel event
> 
> http://www.w3.org/2005/06/tracker/webapi/issues/55
> 
> Raised by: Anne van Kesteren
> On product: DOM 3 Events
> 
> Per previous resolutions we resolved to have a "wheel" event and that we'd call
> it mousewheel. The event would generic. The issue regarding multiple directions
> is ISSUE-33. There another open issue though with regard to what we do with
> .wheelDelta. Possible options I see:
> 
>  (a) Don't mention it and use UIEvent.detail instead
>  (b) Extend MouseEvent with wheelDelta
>  (c) Have a special interface for mousewheel.
>  (d) Do (a) but have wheelDelta in the ECMAScript binding mapped to
>      UIEvent.detail in some way.
> 
> (When considering this it might be worth keeping in mind that other interfaces
> also don't really have "every" attribute browsers implemented represented.)

(a) sounds the most attractive to me. Browsers that want compat with 
existing content are always free to add wheelDelta that maps to detail 
if they want.

/ Jonas

Received on Tuesday, 28 March 2006 09:54:14 UTC