Class: MdTableBuilder<T>
@pvm/update.MdTableBuilder
Type parameters
Name |
---|
T |
Hierarchy
MdTableBuilder
↳
MdUpdatedTable
Constructors
constructor
• new MdTableBuilder<T
>()
Type parameters
Name |
---|
T |
Defined in
packages/pvm-update/lib/utils/md-table.ts:17
Properties
columns
• columns: ColumnBuilder
<T
>[]
Defined in
packages/pvm-update/lib/utils/md-table.ts:13
footer
• footer: string
= ''
Defined in
packages/pvm-update/lib/utils/md-table.ts:15
rows
• Private
Readonly
rows: T
[]
Defined in
packages/pvm-update/lib/utils/md-table.ts:12
Methods
addColumn
â–¸ addColumn(title
, body
): void
Parameters
Name | Type |
---|---|
title | string |
body | (t : T ) => string |
Returns
void
Defined in
packages/pvm-update/lib/utils/md-table.ts:26
addRow
â–¸ addRow(row
): void
Parameters
Name | Type |
---|---|
row | T |
Returns
void
Defined in
packages/pvm-update/lib/utils/md-table.ts:22
build
â–¸ build(): string
Returns
string