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 |
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. |
Starts the load process.
Kind: static method of ImageLoader