Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2.9 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| jsClientSidebar |
Interface: File
internal.File
Provides information about files and allows JavaScript in a web page to access their content.
Hierarchy
-
Blob↳
File
Properties
lastModified
• Readonly lastModified: number
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:8262
name
• Readonly name: string
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:8264
prototype
• prototype: Blob
Inherited from
Blob.prototype
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:3124
size
• Readonly size: number
Inherited from
Blob.size
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:3110
type
• Readonly type: string
Inherited from
Blob.type
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:3112
webkitRelativePath
• Readonly webkitRelativePath: string
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:8266
Methods
arrayBuffer
▸ arrayBuffer(): Promise<ArrayBuffer>
Returns
Promise<ArrayBuffer>
Inherited from
Blob.arrayBuffer
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:3114
slice
▸ slice(start?, end?, contentType?): Blob
Parameters
| Name | Type |
|---|---|
start? |
number |
end? |
number |
contentType? |
string |
Returns
Blob
Inherited from
Blob.slice
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:3116
stream
▸ stream(): ReadableStream<Uint8Array>
Returns
ReadableStream<Uint8Array>
Inherited from
Blob.stream
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:3118
text
▸ text(): Promise<string>
Returns
Promise<string>
Inherited from
Blob.text
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:3120