Optional method arguments in the DOM

Hi,

What do implementors and authors think of having more optional method  
arguments in the DOM where that makes sense? Take as example  
addEventListener. The last argument could be made to default to false for  
example when omitted so you only have to provide an event type and a  
listener when you don't need to use capture. Supporting optional arguments  
would of course only apply to bindings that actually support that.

Cheers,

Anne


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Thursday, 15 June 2006 16:36:45 UTC