src/elements/textitem/nodes.ts
A dynamic node represents a variable piece of text, as the result of evaluating an expression. Because the origin of an expression's result is unknown, this data is considered XSS unsafe and must always be escaped.
Properties |
|
Methods |
constructor(values: string[])
|
||||||
Parameters :
|
Public Readonly values |
Type : string[]
|
filter | ||||||
filter(style: string)
|
||||||
Parameters :
Returns :
StyleNode[]
|
find | ||||||
find(style: string)
|
||||||
Parameters :
Returns :
undefined
|
toPlainText | ||||||
toPlainText(options?: literal type)
|
||||||
Parameters :
Returns :
string
|
visit | |||||||||
visit(visitor: TextItemNodeVisitor<T | R>, context: T)
|
|||||||||
Type parameters :
|
|||||||||
Parameters :
Returns :
R
|