textTruncation

textTruncation

Maximum number of lines before text is truncated with an ellipsis.

Type

WithTextTruncationTrait["textTruncation"]

Must be used alongside overflow. Setting to null removes the text truncation property. Supported by TextNode.