Skip to main content
Module

x/evt/lib/types/index.ts>dom.HTMLTableCaptionElement

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.HTMLTableCaptionElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/types/index.ts";
const { HTMLTableCaptionElement } = dom;

Special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.

Properties

deprecated
align: string

Methods

addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void