Add the option to use FormData to encode the form elements (#153)

* Add the option to use FormData to encode the form elements

If the form's enctype attribute is set to "multipart/form-data",
use FormData to encode the form's elements.
This commit was merged in pull request #153.
This commit is contained in:
BehindTheMath
2018-04-29 15:05:22 -04:00
committed by GitHub
parent 7d26a75fdf
commit e49d8947f7
4 changed files with 54 additions and 7 deletions

1
index.d.ts vendored
View File

@@ -177,6 +177,7 @@ declare namespace Pjax {
requestUrl?: string;
requestMethod?: string;
requestParams?: IRequestParams[];
formData?: FormData;
}
}