- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 02 Mar 2016 01:01:54 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 2 March 2016 09:02:48 UTC
>
> <pre class='idl'>
> partial interface Document {
> - Element createElement(DOMString localName, DOMString typeExtension);
> - Element createElementNS(DOMString? namespace, DOMString qualifiedName, DOMString typeExtension);
> + Element createElement(DOMString localName, optional DOMString typeExtension);
> + Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional DOMString typeExtension);
Should we go for a dictionary as final argument to allow future extensions without getting awkward four-argument methods? I think I'd prefer that.
---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/pull/405/files#r54695445
Received on Wednesday, 2 March 2016 09:02:48 UTC