import { Form } from "https://deno.land/x/frugal@0.5.0/docs/dep/frugal/preact.client.ts";
Constructors
new
Form(config: FormConfig<VALUE>, state: FormState<VALUE>)Type Parameters
optional
VALUE extends FormValue = anyMethods
_validationStrategy(event: "change" | "touch" | "submit")
addListener(listener: Listener)
removeListener(listener: Listener)
submit(formElement: HTMLFormElement): Promise<void>
validate(): Promise<ValidationResult<VALUE>>