Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Icons

Index

Constructors

constructor

Properties

Readonly markupIdentifiers

markupIdentifiers: any = MarkupIdentifiers

Private Readonly promiseCache

promiseCache: PromiseCache = {}

Readonly sizes

sizes: any = Sizes

Readonly states

states: any = States

Methods

Private fetchFromLocal

  • fetchFromLocal(cacheIdentifier: string): Promise<string>

Private fetchFromRemote

  • fetchFromRemote(icon: string[], cacheIdentifier: string): Promise<string>

Private getFromPromiseCache

  • getFromPromiseCache(cacheIdentifier: string): Promise<string>

getIcon

  • getIcon(identifier: string, size: Sizes, overlayIdentifier?: string, state?: string, markupIdentifier?: MarkupIdentifiers): Promise<string>

Private getIconRegistryCache

  • getIconRegistryCache(): Promise<string>

Private isPromiseCached

  • isPromiseCached(cacheIdentifier: string): boolean

Private putInPromiseCache

  • putInPromiseCache(cacheIdentifier: string, markup: Promise<string>): void

Generated using TypeDoc