TableElement
Represents a markdown table.
Extends
AbstractMarkdownLiteral
Constructors
new TableElement()
new TableElement(
apiInstance
,header
,body
):TableElement
Parameters
Parameter | Type |
---|---|
|
|
|
|
|
|
Returns
Overrides
AbstractMarkdownLiteral.constructor
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:238
Properties
apiInstance
readonly
apiInstance:API
Inherited from
AbstractMarkdownLiteral.apiInstance
Defined in
jsEngine/api/markdown/AbstractMarkdownElement.ts:9
body
body:
string
[][]
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:236
header
header:
string
[]
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:235
Methods
toMarkdown()
toMarkdown():
MarkdownString
Converts the element to a MarkdownString.
Returns
Inherited from
AbstractMarkdownLiteral.toMarkdown
Defined in
jsEngine/api/markdown/AbstractMarkdownElement.ts:28
toString()
toString():
string
Converts the element to a string.
Returns
string
Overrides
AbstractMarkdownLiteral.toString
Defined in
jsEngine/api/markdown/AbstractMarkdownElementContainer.ts:245