File

src/ui/file-picker/smart-file-picker.service.ts

Index

Methods

Methods

createFolder
createFolder(folderScope: string, rootFolder: ISmartFilePickerFile, folderName: string, subfolder?: string)

Create a folder

Parameters :
Name Type Optional
folderScope string No
rootFolder ISmartFilePickerFile No
folderName string No
subfolder string Yes
getFilePatterns
getFilePatterns(folderScope: string)

Get file patterns

Parameters :
Name Type Optional
folderScope string No
getFiles
getFiles(folderScope: string, rootFolder: ISmartFilePickerFile, filePatterns: string, subFolder?: ISmartFilePickerFile, mode: "folderFile" | "file" | "folder")

Get files

Parameters :
Name Type Optional Default value
folderScope string No
rootFolder ISmartFilePickerFile No
filePatterns string No
subFolder ISmartFilePickerFile Yes
mode "folderFile" | "file" | "folder" No 'file'
getRootFolders
getRootFolders(folderScope: string)

Get folders

Parameters :
Name Type Optional
folderScope string No
getSubFolders
getSubFolders(folderScope: string, rootFolder: ISmartFilePickerFile, subFolder?: ISmartFilePickerFile)

Get sub folders

Parameters :
Name Type Optional
folderScope string No
rootFolder ISmartFilePickerFile No
subFolder ISmartFilePickerFile Yes

results matching ""

    No results matching ""