W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2009

Re: Hypothetical WebIDL block for EventTarget

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 15 Oct 2009 12:43:19 +0200
To: "Travis Leithead" <travil@microsoft.com>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.u1t72hxi64w2qv@annevk-t60>
On Wed, 14 Oct 2009 21:26:43 +0200, Travis Leithead <travil@microsoft.com>  
wrote:
> I realize I'm touching on a controversial topic, but I was wondering  
> what feedback we might get by proposing that the EventTarget interface  
> in DOM Level 3 Events be marked up with WebIDL as follows (I don't  
> imagine controversy on any other interface):
> [NoInterfaceObject]
> interface EventTarget {
>   void               addEventListener(in DOMString type,
>                                       in EventListener listener,
>                                       in boolean useCapture);
>   void               removeEventListener(in DOMString type,
>                                          in EventListener listener,
>                                          in boolean useCapture);
>   // Modified in DOM Level 3:
>   boolean            dispatchEvent(in Event evt)
>                                    raises(EventException,
>                                    DOMException);
> };

Makes sense to me.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 15 October 2009 10:43:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:03 GMT