interface dom.HTMLModElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.17/mod.ts";
const { HTMLModElement } = dom;
Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is and .
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLModElement, 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: HTMLModElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,