import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { HTMLTableElement } = dom;
Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document.
Properties
Sets or retrieves the number of horizontal rows contained in the object.
Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.
Retrieves the tFoot object of the table.
Retrieves the tHead object of the table.
Methods
Creates an empty caption element in the table.
Creates an empty tBody element in the table.
Creates an empty tFoot element in the table.
Returns the tHead element object if successful, or null otherwise.
Removes the specified row (tr) from the element and from the rows collection.
Creates a new row (tr) in the table, and adds the row to the rows collection.