Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface HTMLTableCellElement
implements HTMLElement
import { type HTMLTableCellElement } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

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

Sets or retrieves how the object is aligned with adjacent text.

deprecated
axis: string

Sets or retrieves a comma-delimited list of conceptual categories associated with the object.

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

Sets or retrieves the height of the object.

deprecated
noWrap: boolean

Sets or retrieves whether the browser automatically performs wordwrap.

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

Sets or retrieves the width of the object.

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