Skip to main content
Module

x/evt/mod.ts>dom.HTMLTableSectionElement

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.HTMLTableSectionElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.3.1/mod.ts";
const { HTMLTableSectionElement } = 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 sections, that is headers, footers and bodies, in an HTML table.

Properties

deprecated
align: string
deprecated
ch: string
deprecated
chOff: string

Sets or retrieves the number of horizontal rows contained in the object.

deprecated
vAlign: string

Methods

deleteRow(index: number): void

Removes the specified row (tr) from the element and from the rows collection.

insertRow(index?: number): HTMLTableRowElement

Creates a new row (tr) in the table, and adds the row to the rows collection.

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