We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5a898 commit 1582e48Copy full SHA for 1582e48
dom/src/main/scala/org/scalajs/dom/FormData.scala
@@ -16,7 +16,11 @@ import scala.scalajs.js.|
16
*/
17
@js.native
18
@JSGlobal
19
-class FormData(form: HTMLFormElement = js.native) extends js.Iterable[js.Tuple2[String, String | Blob]] {
+class FormData extends js.Iterable[js.Tuple2[String, String | Blob]] {
20
+
21
+ def this(form: HTMLFormElement) = this()
22
23
+ def this(form: HTMLFormElement, submitter: HTMLElement) = this()
24
25
/** The `append()` method of the `FormData` interface appends a new value onto an existing key inside a `FormData`
26
* object, or adds the key if it does not already exist.
0 commit comments