interface HTMLFormElement
implements HTMLElement
import { type HTMLFormElement } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
A element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.
Index Signatures
index: number]: Element
[name: string]: any
[Properties
Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.
readonly
elements: HTMLFormControlsCollectionRetrieves a collection, in source order, of all controls in a given form.
Methods
Returns whether a form will validate when it is submitted, without having to submit it.
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,