Skip to content

Function: truncateLabel()

truncateLabel(value, maxLength?): string

Truncates a label to a maximum length with ellipsis.

string

number

string