Skip to content

Latest commit

 

History

History
148 lines (82 loc) · 3.01 KB

TableRow.md

File metadata and controls

148 lines (82 loc) · 3.01 KB

@felisdiligens/md-table-tools / Exports / TableRow

Class: TableRow

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TableRow(index?, isHeader?, isMultiline?, startsNewSection?)

Parameters

Name Type Default value Description
index number 0 -
isHeader boolean false -
isMultiline boolean false Only pertains to MultiMarkdown multiline feature. Ignored by other parsers/renderers. See Table.mergeMultilineRows()
startsNewSection boolean false -

Defined in

tables/table.ts:114

Properties

cells

cells: TableCell[]

Defined in

tables/table.ts:112


index

index: number = 0

Defined in

tables/table.ts:115


isHeader

isHeader: boolean = false

Defined in

tables/table.ts:116


isMultiline

isMultiline: boolean = false

Only pertains to MultiMarkdown multiline feature. Ignored by other parsers/renderers. See Table.mergeMultilineRows()

Defined in

tables/table.ts:118


startsNewSection

startsNewSection: boolean = false

Defined in

tables/table.ts:119

Methods

getCell

getCell(index): TableCell

Parameters

Name Type
index number

Returns

TableCell

Defined in

tables/table.ts:129


getCells

getCells(): TableCell[]

Returns

TableCell[]

Defined in

tables/table.ts:133


updateCells

updateCells(table): void

Parameters

Name Type
table Table

Returns

void

Defined in

tables/table.ts:123