MCPcopy Create free account
hub / github.com/ampproject/amphtml / constructor

Method constructor

src/form-data-wrapper.js:123–128  ·  view source on GitHub ↗

@override

(opt_form)

Source from the content-addressed store, hash-verified

121class NativeFormDataWrapper {
122 /** @override */
123 constructor(opt_form) {
124 /** @private @const {!FormData} */
125 this.formData_ = new FormData(opt_form);
126
127 this.maybeIncludeSubmitButton_(opt_form);
128 }
129
130 /**
131 * If a submit button is focused (because it was used to submit the form),

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected