• Returns (
        target: SubmitTarget,
        options?: SubmitOptions & { debounceTimeout?: number },
    ) => undefined | Promise<void>

      • (
            target: SubmitTarget,
            options?: SubmitOptions & { debounceTimeout?: number },
        ): undefined | Promise<void>
      • Parameters

        • target: SubmitTarget

          Specifies the <form> to be submitted to the server, a specific <button> or <input type="submit"> to use to submit the form, or some arbitrary data to submit.

          Note: When using a <button> its name and value will also be included in the form data that is submitted.

        • Optionaloptions: SubmitOptions & { debounceTimeout?: number }

          Options that override the <form>'s own attributes. Required when submitting arbitrary data without a backing <form>. Additionally, you can specify a debounceTimeout to delay the submission of the data.

          • OptionaldebounceTimeout?: number

            Submissions within this timeout will be canceled

        Returns undefined | Promise<void>