interface HTMLSpanElement
implements HTMLElement
import { type HTMLSpanElement } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
A element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLSpanElement, 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: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,