Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlobLoader

Hierarchy

  • BlobLoader

Index

Constructors

constructor

  • new BlobLoader(imageSources: Array<string>): BlobLoader

Properties

imageSources

imageSources: Array<string>

maxRetries

maxRetries: number

Methods

dispose

  • dispose(): void

load

  • load(): Promise<Record<string, Blob>>

loadBase64Images

  • loadBase64Images(): Promise<Object>

loadBlob

  • loadBlob(source: string, retryCount?: number): Promise<Blob | undefined>
  • Parameters

    • source: string
    • Default value retryCount: number = 0

    Returns Promise<Blob | undefined>

loadBlobAsBase64Image

  • loadBlobAsBase64Image(source: string, retryCount?: number): Promise<Blob | undefined | void>
  • Parameters

    • source: string
    • Default value retryCount: number = 0

    Returns Promise<Blob | undefined | void>