textTruncation

textTruncation

textTruncation

Specifies the maximum number of lines a text node can display before being truncated with an ellipsis

Type

number | null

Supported by

  • TextNode

Caveats

  • Setting to null removes the text truncation node property

  • Must be used alongside overflow