W3C home > Mailing lists > Public > www-svg@w3.org > January 2005

Re: DOM Level 3 events

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Wed, 19 Jan 2005 10:00:06 +1100
To: www-svg@w3.org
Message-ID: <20050118230006.GB19300@port.mcc.id.au>

Hi Jon.

Jon Ferraiolo:
> However, you can register an event listener using either name. Your handler 
> will get invoked no matter whether you listen to the "error" event or the 
> "SVGError" event. I would assume that, when your handler receives the event 
> object, the event name would match the name of the event to which your 
> event listener was listening. Thus, if you listened for "SVGError", the 
> event type on the event object would be "SVGError".

Does this mean also that as the event bubbles (and captures) and goes to
different handlers, the type attribute should be changed to what each
particular handler is expecting?

Cameron

-- 
Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Tuesday, 18 January 2005 23:00:08 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:29 GMT