Class: DesktopLocalFileService
Defined in: submodules/univer/packages/ui/src/services/local-file/desktop-local-file.service.ts:21
Extends
Implements
Constructors
new DesktopLocalFileService()
new DesktopLocalFileService(): DesktopLocalFileService
Returns
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
downloadFile()
downloadFile(data, fileName): void
Defined in: submodules/univer/packages/ui/src/services/local-file/desktop-local-file.service.ts:38
Parameters
Parameter | Type |
---|---|
data | Blob |
fileName | string |
Returns
void
Implementation of
ILocalFileService
.downloadFile
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
openFile()
openFile(options?): Promise<File[]>
Defined in: submodules/univer/packages/ui/src/services/local-file/desktop-local-file.service.ts:22
Parameters
Parameter | Type |
---|---|
options ? | IOpenFileOptions |
Returns
Promise
<File
[]>