Reference / Modules / client-browser / BrowserFile
Class: BrowserFile
client-browser.BrowserFile
Hierarchy
-
File↳
BrowserFile
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new BrowserFile(file, name): BrowserFile
Parameters
| Name | Type |
|---|---|
file | Blob |
name | string |
Returns
Overrides
File.constructor
Defined in
client-browser/src/index.ts:21
Properties
file
• Private file: Blob
Defined in
client-browser/src/index.ts:26
mimeType
• Readonly mimeType: MimeType
Inherited from
File.mimeType
Defined in
client/dist/ComponentFactory.d.ts:16
name
• Readonly name: string
Inherited from
File.name
Defined in
client/dist/ComponentFactory.d.ts:15
Methods
getBlob
▸ getBlob(): Blob
Returns
Blob
Defined in
client-browser/src/index.ts:45
getHashAndSize
▸ getHashAndSize(): Promise<HashAndSize>
Returns
Promise<HashAndSize>
Overrides
File.getHashAndSize