File object containing filename or name property
Optional
filename?: stringOptional
name?: stringOptional
maxLength: number = 26Maximum length of the filename (excluding extension)
Optional
ellipsis: string = '…'Character to use for truncation
Generated using TypeDoc
Name
fileNameWithEllipsis
Description
Truncates a filename while preserving the extension
Returns
Truncated filename with extension
Example