Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface HTMLTableSectionElement
implements HTMLElement
import { type HTMLTableSectionElement } from "https://deno.land/x/yxz@0.17.0/typing/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 sections, that is headers, footers and bodies, in an HTML table.

Properties

deprecated
align: string

Sets or retrieves a value that indicates the table alignment.

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