Skip to content

TableCell.init method

TableCell › init

Unofficial

Initialize the cell with a DOM element and its offsets within the table.

Signature:

init(el: HTMLElement, start: number, end: number): void

Parameters:

ParameterTypeDescription
elHTMLElementThe cell's DOM element.
startnumberStart offset, relative to the start of the table.
endnumberEnd offset, relative to the start of the table.

Returns: void