src/ui/file-picker/interfaces/smart-file-picker-folder.interface.ts
Properties |
|
Methods |
constructor(model: ISmartFilePickerFile)
|
||||||
|
Parameters :
|
| Optional date |
Type : string
|
| index |
Type : number
|
| Optional isEditingName |
Type : boolean
|
| isSubfolder |
Type : boolean
|
| Optional parent |
Type : SmartFilePickerFile
|
| path |
Type : string
|
| Optional size |
Type : number
|
| Optional subfiles |
Type : SmartFilePickerFile[]
|
| type |
Type : string
|
| getBaseName |
getBaseName()
|
|
Get the base name of the folder
Returns :
any
|
| getPathFromRoot | ||||||||||
getPathFromRoot(includeRoot: unknown)
|
||||||||||
|
Get the path of the folder
Parameters :
Returns :
any
|
| getRootFolder |
getRootFolder()
|
|
Get the root folder
Returns :
any
|
| getStringPathFromRoot | ||||||||||
getStringPathFromRoot(includeRoot: unknown)
|
||||||||||
|
Get the string path of the folder
Parameters :
Returns :
any
|
| hasSubfolders |
hasSubfolders()
|
|
Check if the folder has children
Returns :
boolean
|
| isRootFolder |
isRootFolder()
|
|
Check if the folder is the root folder
Returns :
boolean
|
| setSubfolders | ||||||||
setSubfolders(subfolders: ISmartFilePickerFile[])
|
||||||||
|
Set the subfolders of the folder
Parameters :
Returns :
void
|