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

Re: DOM Level 3 events

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 18 Jan 2005 14:44:40 -0600
Message-ID: <41ED7538.6080202@mit.edu>
To: Peter Sorotokin <psorotok@adobe.com>
CC: Jon Ferraiolo <jon.ferraiolo@adobe.com>, Cameron McCormack <cam-www-svg@aka.mcc.id.au>, www-svg@w3.org

Peter Sorotokin wrote:
>> 2)  That the implementation is keeping the event listeners for the two 
>> types in
>>     separate lists (is this desirable?  Should registering a listener 
>> for both
>>     types involved make it get the event twice?).
> 
> You can do it per-listener rather than on per-list basis; but I'd keep 
> two separate lists.

In other words, a listener registered for both event names would indeed get the 
event twice?

Note that this is something that the spec should clearly state if it goes this 
route.

-Boris
Received on Tuesday, 18 January 2005 20:48:00 GMT

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