W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2002

createEventNS as alternative to init*EventNS

From: Curt Arnold <carnold@houston.rr.com>
Date: Wed, 14 Aug 2002 22:32:33 -0500
Message-ID: <007701c2440c$649507e0$a800a8c0@CurtMicron>
To: <www-dom@w3.org>
An alternative to creating NS suffixed versions of all the existing init[*]Event methods would be to add a createEventNS() method and set the namespace (and potentially the compatibility flag mentioned in the previous message) at event creation time and use the existing init[*]Event methods to set the remaining parameters.

I think it would be very unlikely that the inability to change an event's namespace after creation would ever be a significant issue and it would reduce both the size of the spec and the number of interfaces that need to change for DOM L3.
Received on Wednesday, 14 August 2002 23:32:41 GMT

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