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/>


Reply via email to