Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ImageCache

Hierarchy

  • ImageCache

Index

Methods

Methods

clear

  • clear(): void
  • Returns void

get

  • get(id: string): HTMLImageElement
  • Parameters

    • id: string

    Returns HTMLImageElement

has

  • has(id: string): boolean
  • Parameters

    • id: string

    Returns boolean

load

set

  • set(id: string, img: HTMLImageElement): void
  • Parameters

    • id: string
    • img: HTMLImageElement

    Returns void