Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Files

Index

Variables

Let objectUrl

objectUrl: string | undefined

Functions

clearObjectUrl

  • clearObjectUrl(): void
  • Returns void

download

  • download(name: string, data: Uint8Array): void
  • Parameters

    • name: string
    • data: Uint8Array

    Returns void

downloadInternal

  • downloadInternal(name: string, objectUrl: string): void
  • Parameters

    • name: string
    • objectUrl: string

    Returns void

downloadWithJsonEncoding

  • downloadWithJsonEncoding(name: string, data: any, stringify?: boolean, pretty?: boolean): void
  • Parameters

    • name: string
    • data: any
    • Default value stringify: boolean = true
    • Default value pretty: boolean = false

    Returns void

get

  • get(path: string): Promise<Response>
  • Parameters

    • path: string

    Returns Promise<Response>

getArrayBuffer

  • getArrayBuffer(path: string): Promise<ArrayBuffer>
  • Parameters

    • path: string

    Returns Promise<ArrayBuffer>

getImage

  • getImage(path: string): Promise<HTMLImageElement>
  • Parameters

    • path: string

    Returns Promise<HTMLImageElement>

getImageDataURL

  • getImageDataURL(path: string): Promise<undefined | string>
  • Parameters

    • path: string

    Returns Promise<undefined | string>

getJson

  • getJson<T>(path: string): Promise<T>
  • Type parameters

    • T

    Parameters

    • path: string

    Returns Promise<T>

getText

  • getText(path: string): Promise<string>
  • Parameters

    • path: string

    Returns Promise<string>

getXML

  • getXML(path: string): Promise<Document>
  • Parameters

    • path: string

    Returns Promise<Document>

uploadInternal

  • uploadInternal(event: Event): Promise<Array<Uint8Array | undefined> | undefined>
  • Parameters

    Returns Promise<Array<Uint8Array | undefined> | undefined>

uploadMultiple

  • uploadMultiple(event: Event): Promise<Array<Uint8Array | undefined> | undefined>
  • Parameters

    Returns Promise<Array<Uint8Array | undefined> | undefined>

uploadSingle

  • Parameters

    Returns Promise<Uint8Array>

uploadSingleWithStringEncoding

  • uploadSingleWithStringEncoding(event: Event, parseAsJson?: boolean): Promise<any>
  • Parameters

    • event: Event
    • Default value parseAsJson: boolean = true

    Returns Promise<any>

Generated using TypeDoc