Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.08 KB

FontLoader.md

File metadata and controls

37 lines (26 loc) · 1.08 KB

FontLoader

Kind: global class
Properties

Name Type Description
name string
cacheBuster boolean
onComplete function
onProgress function
onFail function
fileType string Manually assign the file type, eg: truetype or woff

new FontLoader(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.

FontLoader.load()

Starts the load process.

Kind: static method of FontLoader