Skip to main content
Module

x/evt/lib/types/lib.dom.ts>HTMLTableRowElement

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

Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table.

Properties

deprecated
align: string
deprecated
bgColor: string

Retrieves a collection of all cells in the table row.

deprecated
ch: string
deprecated
chOff: string
readonly
rowIndex: number

Retrieves the position of the object in the rows collection for the table.

readonly
sectionRowIndex: number

Retrieves the position of the object in the collection.

deprecated
vAlign: string

Methods

deleteCell(index: number): void

Removes the specified cell from the table row, as well as from the cells collection.

insertCell(index?: number): HTMLTableDataCellElement

Creates a new cell in the table row, and adds the cell to the cells collection.

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