import { type dom } from "https://deno.land/x/evt@v2.4.6/mod.ts";
const { HTMLObjectElement } = dom;
Provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of element, representing external resources.
Properties
Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLObjectElement, 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: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,