- Preparing search index...
- The search index is not available
Accessors
o
- get o(): this["options"]
-
Returns this["options"]
Methods
canI
- canI(action): boolean
-
Returns boolean
createFolder
- createFolder(name, path, source): Promise<boolean>
-
Parameters
-
name: string
-
path: string
-
source: string
Returns Promise<boolean>
crop
- crop(path, source, name, newname, box): Promise<boolean>
-
Parameters
-
path: string
-
source: string
-
name: string
-
newname: string | void
-
Returns Promise<boolean>
destruct
- destruct(): any
-
Returns any
fileRemove
- fileRemove(path, file, source): Promise<string>
-
Parameters
-
path: string
-
file: string
-
source: string
Returns Promise<string>
fileRename
- fileRename(path, name, newname, source): Promise<string>
-
Parameters
-
path: string
-
name: string
-
newname: string
-
source: string
Returns Promise<string>
folderRemove
- folderRemove(path, file, source): Promise<string>
-
Parameters
-
path: string
-
file: string
-
source: string
Returns Promise<string>
folderRename
- folderRename(path, name, newname, source): Promise<string>
-
Parameters
-
path: string
-
name: string
-
newname: string
-
source: string
Returns Promise<string>
getMessage
- getMessage(resp): string
-
Returns string
isSuccess
- isSuccess(resp): boolean
-
Returns boolean
itemsEx
- itemsEx(path, source, mods?): Promise<{
items: IFileBrowserItem[];
loadedTotal: number;
}>
-
Parameters
-
path: string
-
source: string
-
move
- move(filepath, path, source, isFile): Promise<boolean>
-
Parameters
-
filepath: string
-
path: string
-
source: string
-
isFile: boolean
Returns Promise<boolean>
onProgress
- onProgress(callback): void
-
Parameters
-
callback: ((percentage) => void)
-
- (percentage): void
-
Returns void
Returns void
resize
- resize(path, source, name, newname, box): Promise<boolean>
-
Parameters
-
path: string
-
source: string
-
name: string
-
newname: string | void
-
Returns Promise<boolean>
Alias for options