Browse Source

Update tsdoc

Indicate partial values can be passed in setFormValues().
master
TheoryOfNekomata 1 year ago
parent
commit
53a8fa4767
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/index.ts

+ 2
- 1
src/index.ts View File

@@ -781,7 +781,8 @@ export const getFormValues = (form: HTMLFormElement, options = {} as GetFormValu
}; };


/** /**
* Sets the values of all the fields within the form through accessing the DOM nodes.
* Sets the values of all the fields within the form through accessing the DOM nodes. Partial values
* may be passed to set values only to certain form fields.
* @param form - The form. * @param form - The form.
* @param values - The form values. * @param values - The form values.
*/ */


Loading…
Cancel
Save