Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TruncateOptions

Hierarchy

  • TruncateOptions

Index

Properties

Optional length

length: number

The maximum string length.

Optional omission

omission: string

The string to indicate text is omitted.

Optional separator

separator: string | RegExp

The separator pattern to truncate to.