W3C home > Mailing lists > Public > www-svg@w3.org > May 2006

Re: SVG12: DOM-based animation

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 08 May 2006 18:09:08 +0200
To: Andrew Shellshear <Andrew.Shellshear@research.canon.com.au>
Cc: www-svg@w3.org
Message-ID: <o2ru529t70m1qp117ahgfmr69t6vke2vna@hive.bjoern.hoehrmann.de>

* Andrew Shellshear wrote:
>>>  <handler type="application/ecmascript" ev:event="timer">
>>>        if (evt.target == mytimer)
>>>        {
>>>        showAndGrowElement();
>>>        }
>>>  </handler>
>>
>>This is one of the reasons why the example can't work as expected, the
>>'timer' event is only ever dispatched to the event listeners registered
>>on the Timer object, not to any node in the document. At least the draft
>>does not mention that.
>
>We have added the following to the description of the Timer event:
>
>This event is only applicable to 'svg' elements.
>The target of the event is the 'svg' element.

That would make sense only with major changes to the 'Timer' interface;
could you elaborate on these changes? How, for example, with this model,
would one distinguish between two 'timer' events from different Timer
objects?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 8 May 2006 16:09:19 GMT

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