Re: HTML's Function becomes EventHander

Marcos Caceres:
> Just a heads up that HTML5's 'Function' has been replaced with the EventHandler callback.
>
> Change set from HTML5:
> http://html5.org/tools/web-apps-tracker?from=7145&to=7146
>
> EventHandler definition:
> http://www.whatwg.org/specs/web-apps/current-work/#eventhandler

Thanks Marcos for pointing that out -- yes EventHandler is what should 
be used now for event handler attributes (or whatever the exact term 
that the HTML spec uses for onblah IDL attributes).  Function lives on 
at http://dev.w3.org/2006/webapi/WebIDL/#common-Function for cases where 
any Function object is acceptable and there is no more limiting type 
that could be used, but I think that should be rare.

Received on Thursday, 28 June 2012 12:09:19 UTC