Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface File

Provides information about files and allows JavaScript in a web page to access their content.

Hierarchy

Index

Properties

Blob

Blob: { constructor: any; prototype: Blob }

Type declaration

Readonly lastModified

lastModified: number

Readonly name

name: string

Readonly size

size: number

Readonly type

type: string

Methods

arrayBuffer

slice

  • slice(start?: number, end?: number, contentType?: string): Blob
  • Parameters

    • Optional start: number
    • Optional end: number
    • Optional contentType: string

    Returns Blob

stream

text

  • Returns Promise<string>

Generated using TypeDoc