Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Cache

Hierarchy

Index

Constructors

constructor

Properties

Private _isViewBase

_isViewBase: boolean

maxRequests

maxRequests: number

placeholder

placeholder: ImageSource

Static downloadErrorEvent

downloadErrorEvent: string

Static downloadedEvent

downloadedEvent: string

Static propertyChangeEvent

propertyChangeEvent: string

Methods

Private _createPropertyChangeData

Private _downloadCore

Private _emit

  • _emit(eventNames: string): any

Private _onDownloadCompleted

  • _onDownloadCompleted(key: string, image: any): any

Private _onDownloadError

  • _onDownloadError(key: string, err: Error): any

addEventListener

  • addEventListener(eventNames: string, callback: function, thisArg?: any): any

clear

  • clear(): void

disableDownload

  • disableDownload(): void

enableDownload

  • enableDownload(): void

enqueue

get

  • get(key: string): any

hasListeners

  • hasListeners(eventName: string): boolean

notify

  • notify<T>(data: T): void

notifyPropertyChange

  • notifyPropertyChange(propertyName: string, value: any, oldValue?: any): void

off

  • off(eventNames: string, callback?: any, thisArg?: any): any

on

  • on(eventNames: string, callback: function, thisArg?: any): any
  • on(event: "downloaded", callback: function, thisArg?: any): any
  • on(event: "downloadError", callback: function, thisArg?: any): any

once

  • once(event: string, callback: function, thisArg?: any): any

push

remove

  • remove(key: string): void

removeEventListener

  • removeEventListener(eventNames: string, callback?: any, thisArg?: any): any

set

  • set(key: string, image: any): void

setProperty

  • setProperty(name: string, value: any): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method