@univerjscoreinterfacesIfblobsource

@univerjs/core v0.5.4


Interface: IFBlobSource

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/facade/f-blob.ts:21

Methods

getAs()

getAs(contentType): FBlob

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/facade/f-blob.ts:31

Return the data inside this object as a blob converted to the specified content type.

Parameters

ParameterTypeDescription
contentTypestringthe content type refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/MIME_types/Common_types

Returns

FBlob


getBlob()

getBlob(): FBlob

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/facade/f-blob.ts:25

Return the data inside this object as a blob.

Returns

FBlob