API Reference
@univerjs
@univerjs/ui
interfaces
Ilocalfileservice

@univerjs/ui v0.4.2Docs


Interface: ILocalFileService

Methods

downloadFile()

downloadFile(data, fileName): void

Parameters

ParameterType
dataBlob
fileNamestring

Returns

void

Defined in

packages/ui/src/services/local-file/local-file.service.ts:30 (opens in a new tab)


openFile()

openFile(options?): Promise<File[]>

Parameters

ParameterType
options?IOpenFileOptions

Returns

Promise<File[]>

Defined in

packages/ui/src/services/local-file/local-file.service.ts:29 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.