W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2012

Re: HTML's Function becomes EventHander

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 28 Jun 2012 22:08:55 +1000
Message-ID: <4FEC4957.4030902@mcc.id.au>
To: Marcos Caceres <marcosscaceres@gmail.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:54 UTC