Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

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