Methods
loadBinary
- loadBinary(resource: string): Promise<Blob>
Parameters
Returns Promise<Blob>
loadFont
- loadFont(fontName: string, resource: string): Promise<FontFace>
Parameters
fontName: string
resource: string
Returns Promise<FontFace>
loadImage
- loadImage(resource: string): Promise<HTMLImageElement>
Parameters
Returns Promise<HTMLImageElement>
loadJson
- loadJson(resource: string): Promise<any>
Parameters
Returns Promise<any>
loadText
- loadText(resource: string): Promise<string>
Parameters
Returns Promise<string>