getShortRecentName
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/files/recent/recentFiles / getShortRecentName
Function: getShortRecentName()
getShortRecentName(
file:string):string
Defined in: utils/files/recent/recentFiles.js:135
Returns the base name (file name with extension) of the given file path.
Parametersβ
fileβ
string
The full path to the file.
Returnsβ
string
The base name of the file.