File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,9 @@ abstract class Document extends Node with NodeSelector with DocumentEvent with P
125125 /** In an HTML document creates the specified HTML element or HTMLUnknownElement if the element is not known. In a XUL
126126 * document creates the specified XUL element. In other documents creates an element with a null namespaceURI.
127127 */
128- def createElement (tagName : String , options : String | ElementCreationOptions = js.native): Element = js.native
128+ def createElement (tagName : String ): Element = js.native
129+ def createElement (tagName : String , options : String ): Element = js.native
130+ def createElement (tagName : String , options : ElementCreationOptions ): Element = js.native
129131
130132 /** Creates an element with the specified namespace URI and qualified name. */
131133 def createElementNS (namespaceURI : String , qualifiedName : String ,
You can’t perform that action at this time.
0 commit comments