W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

define a callback for event handler attributes to use

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 20 Jun 2012 13:00:49 +1000
Message-ID: <4FE13CE1.1040706@mcc.id.au>
To: "www-dom@w3.org" <www-dom@w3.org>
I'd like to have this definition added to DOM4:

   [TreatNonCallableAsNull] callback EventHandler = void (Event event);

That would allow specs that define event handler attributes to write for 

   attribute EventHandler onclick;

rather than

   [TreatNonCallableAsNull] attribute Function onclick;


Received on Wednesday, 20 June 2012 03:01:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:00 UTC