Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HTMLTableSectionElement

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.

interface HTMLTableSectionElement extends HTMLElement {
align: string;
ch: string;
chOff: string;
vAlign: string;
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;
deleteRow(index: number): void;
insertRow(index?: number): HTMLTableRowElement;
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;
}
var HTMLTableSectionElement: {};

§Extends

§Properties

§
align: string
[src]

Sets or retrieves a value that indicates the table alignment.

§
ch: string
[src]
§
chOff: string
[src]
§

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

§
vAlign: string
[src]

§Methods

§
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
deleteRow(index: number): void
[src]

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

@param index

Number that specifies the zero-based position in the rows collection of the row to remove.

§
insertRow(index?: number): HTMLTableRowElement
[src]

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

@param index

Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.

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