Skip to main content
Module

x/evt/mod.ts>dom.HTMLTableCellElement

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

Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.

Properties

abbr: string

Sets or retrieves abbreviated text for the object.

deprecated
align: string
deprecated
axis: string
deprecated
bgColor: string
readonly
cellIndex: number

Retrieves the position of the object in the cells collection of a row.

deprecated
ch: string
deprecated
chOff: string
colSpan: number

Sets or retrieves the number columns in the table that the object should span.

headers: string

Sets or retrieves a list of header cells that provide information for the object.

deprecated
height: string
deprecated
noWrap: boolean
rowSpan: number

Sets or retrieves how many rows in a table the cell should span.

scope: string

Sets or retrieves the group of cells in a table to which the object's information applies.

deprecated
vAlign: string
deprecated
width: string

Methods

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