Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.24 KB

ImageLoader.md

File metadata and controls

39 lines (28 loc) · 1.24 KB

ImageLoader

Kind: global class
Properties

Name Type Description
name string
cacheBuster boolean
renderOnly boolean used when only needing to render, such as writing into the DOM as markup
crossOrigin string
onComplete function
onProgress function
onFail function
fileType string Manually assign the file type, eg: truetype or woff

new ImageLoader(target, arg)

This class is designed to handle a single load of a font by assigning it to a generated stylesheet

Param Type Description
target string load target
arg object Object with any of the following optional parameters for customizing the load routine.

ImageLoader.load()

Starts the load process.

Kind: static method of ImageLoader