File tree 1 file changed +3
-1
lines changed
dom/src/main/scala/org/scalajs/dom 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
125
125
/** In an HTML document creates the specified HTML element or HTMLUnknownElement if the element is not known. In a XUL
126
126
* document creates the specified XUL element. In other documents creates an element with a null namespaceURI.
127
127
*/
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
129
131
130
132
/** Creates an element with the specified namespace URI and qualified name. */
131
133
def createElementNS (namespaceURI : String , qualifiedName : String ,
You can’t perform that action at this time.
0 commit comments