MCPcopy Create free account
hub / github.com/LibPDF-js/core / resetAll

Method resetAll

src/api/pdf-form.ts:1230–1236  ·  view source on GitHub ↗

* Reset all fields to their default values.

()

Source from the content-addressed store, hash-verified

1228 * Reset all fields to their default values.
1229 */
1230 resetAll(): void {
1231 for (const field of this.allFields) {
1232 if (field instanceof TerminalField) {
1233 field.resetValue();
1234 }
1235 }
1236 }
1237
1238 // ─────────────────────────────────────────────────────────────────────────────
1239 // Form Properties

Callers 1

pdf-form.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected