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

Re: SVGT 1.2: "evt" vs "event" as the implicit event argument to event handlers

From: Robin Berjon <robin.berjon@expway.fr>
Date: Fri, 28 Apr 2006 12:52:14 +0200
Message-Id: <20B04735-26C0-427E-85D7-41AE0443D8F0@expway.fr>
Cc: www-svg@w3c.org
To: Chris Lilley <chris@w3.org>

On Apr 24, 2006, at 23:18, Chris Lilley wrote:
> On Monday, April 24, 2006, 11:05:47 PM, Jonathan wrote:
> JW> Well, that's what the "evt" vs. "event" issue is about - the  
> name in the calling
> JW> scope, no?
> In which case, why does it need to be standardized?

What needs to be defined is not the name of the parameter for  
handleEvent, you could have handleEvent: function (foo) {...} and  
it'll work just fine. What we do need is the name of the variable  
that's automatically made available to you inside <handler> and event  
attributes (since you can't define it yourself).

Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Friday, 28 April 2006 10:52:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:12 UTC